Top_Genes_Factor | R Documentation |
Extract vector to the top loading genes for specified LIGER iNMF factor
Top_Genes_Factor(object, factor = NULL, num_genes = 10, ...)
## S3 method for class 'liger'
Top_Genes_Factor(object, factor = NULL, num_genes = 10, ...)
## S3 method for class 'Seurat'
Top_Genes_Factor(object, factor = NULL, num_genes = 10, reduction, ...)
object |
object name. |
factor |
factor number to pull genes from. Set to "all" to return top loading genes from all factors |
num_genes |
number of top loading genes to return as vector, default is 10. |
... |
Arguments passed to other methods |
reduction |
name of reduction containing NMF/iNMF/cNMF data. |
vector of top genes for given factor or data.frame containing top genes across all factors
## Not run:
top_genes_factor10 <- Top_Genes_Factor(object = object, factor = 1, num_genes = 10)
## End(Not run)
## Not run:
top_genes_factor10 <- Top_Genes_Factor(object = object, factor = 1, num_genes = 10,
reduction = "cNMF")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.