modulescore | R Documentation |
this is inspired by Tirosh et al, Science (2016) and the AddModuleScore function in Seurat
modulescore(gem, genelist, numbins = NULL, numcontrolgenesperbin = NULL)
gem |
matrix, a gene expresssion matrix with rows=genes and columns=samples |
genelist |
character vector, genes for which to calculate module score |
numbins |
integer, how many bins to split the input genelist into, for selection of control genes |
numcontrolgenesperbin |
integer, how many control genes to select per bin |
a vector of numerics, sample-wise module scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.