Closed fereshtehizadi closed 5 years ago
Hi,
Sorry, I would like to use a set of genes in calculating PCs rather than variable genes as default or all of genes but I am getting this error,
> > class(as.character(my_set)) [1] "character" > length(as.character(my_set)) [1] 3939 > <- calcPCA(object, mp.factor = 1.5,genes.use=as.character(my_set)) [1] "2018-10-03 21:23:11: Centering and scaling data." Error in intI(i, n = x@Dim[1], dn[[1]], give.dn = FALSE) : invalid character indexing >
Could you please help me in solving that?
Thank you
Sorry, the problem was the genes was not among the rownames(object@logupx.data)
rownames(object@logupx.data)
Hi,
Sorry, I would like to use a set of genes in calculating PCs rather than variable genes as default or all of genes but I am getting this error,
Could you please help me in solving that?
Thank you