hemberg-lab / SC3

A tool for the unsupervised clustering of cells from single cell RNA-Seq experiments
http://bioconductor.org/packages/SC3
GNU General Public License v3.0
119 stars 55 forks source link

Gene names lost after get_marker_genes() #95

Open friedue opened 5 years ago

friedue commented 5 years ago

Hi,

I supplied a matrix with dimnames to get_marker_genes, but the returned data.frame is lacking row.names; hence I'm not sure which genes get which values.

 markers <- SC3::get_marker_gene(assay(sce.filt, "norm.expr")), as.numeric(sce.filt$res.03) )

 head(markers)
      auroc clusts        pvalue
1 0.7193039      4 6.267328e-145
2 0.7143930      9 7.686917e-181
3 0.6888292      6  6.128642e-81
4 0.5867729     10  1.064379e-05
5 0.6911236      6  1.466540e-90
6 0.7188981      9 3.326843e-144

This would be with SC3_1.10.1.

Are the genes re-ordered or is it save to assign the rownames(sce.filt) to the returned object?