Hello everyone,
I'm new to Rstudio, and i'm a little bit stuck. I'm trying to run the code of cibersort for the deconvolution of RNAseq samples using the LM22 signature matrix provided. I did a previous differential analysis with DESeq2, and used the normalized matrix of my analysis to run the cibersort script. here is my code:
if (!require(CIBERSORT))devtools::install_github("Moonerss/CIBERSORT")
library(CIBERSORT)
data(LM22)
mydata<-read.table("C:/Users/dell/Desktop/cibersort rstudio/normdata radiosensible vs radioresistantgenes.txt", header = TRUE, sep= '\t')
myresults<-cibersort(sig_matrix = LM22, mixture_file = mydata)
Also, here is a snippet of my data:
mydata[1:5,1:5]
I keep getting this error: error in fun(x((i)), ...) : only defined on a data frame with all numeric alike variables
Can anyone help me? Thanks in advance for your replies.
I looked up a publication using CIBERSORT to see how they got the package, and indeed they acquired it through official website application from Stanford.
Here is the publication: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5895181/
Relevant methods section:
I would agree to avoid this GitHub version, and apply through the official website application through Stanford.. if you are doing analysis for research purposes and use this GitHub version, a reviewer might be extremely skeptical.
I see, thank you!