wguo-research / scCancer

A package for automated processing of single cell RNA-seq data in cancer
99 stars 42 forks source link

question about runExprProgram() #26

Open MMriran opened 3 years ago

MMriran commented 3 years ago

Thank you for the great tool and I also have applied this package and cited your paper in my previous paper. Now I had a question about the runExprProgram(). after I performed the runExprProgram(), I got a list contains W H and program.gene.value. Then I found that the results only told us the gene can be assigned to a program, but do not know the cell belongs to which program. Can I ask the sccancer to get the results that told us cell belongs to which program. just like the picture shown:

image

wguo-research commented 3 years ago

Thanks for your use and citation. You can use the H matrix (program-cell) and assign the cell to the program which has the maximal score (rowMax) among the cell's all expression programs.