View source: R/utility_functions.R
getNMFGenes | R Documentation |
Returns top module genes from NMF feature loading matrix
getNMFGenes(feature.loading, norm.cutoff = 0.5)
feature.loading |
Matrix; m genes x n modules loading |
norm.cutoff |
Numeric [0,1]; cutoff to get top genes. Default is 0.5. |
Nicholas Mikolajewicz
# get feature loading matrix (W matrix)
nmf.kme <- as.matrix(so.query@misc[["nmf"]][["nmf"]][["W"]])
# get module genes
nmf.module.genes <- getNMFGenes((nmf.kme), norm.cutoff = (1/ncol(nmf.kme)) + .25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.