FindCorrelatedGenes | R Documentation |
Find correlated genes in a Seurat object
FindCorrelatedGenes(
gene = "TOP2A",
obj = combined.obj,
assay = "RNA",
slot = "data",
HEonly = FALSE,
minExpr = 1,
minCells = 1000,
trailingNgenes = 1000
)
gene |
Gene of interest. Default: 'TOP2A' |
obj |
Seurat object to find the correlated genes from. Default: |
assay |
Assay to be used from the Seurat object. Default: 'RNA' |
slot |
Slot to be used from the specified assay in the Seurat object. Default: 'data' |
HEonly |
Logical, if TRUE, filters matrix to high-expressing genes only. Default: |
minExpr |
Minimum expression level for a gene to be considered. Default: 1 |
minCells |
Minimum number of cells expressing a gene for the gene to be considered. Default: 1000 |
trailingNgenes |
Number of top genes to consider based on their correlation. Default: 1000 |
rowSums2
## Not run:
if (interactive()) {
FindCorrelatedGenes(gene = "TOP2A", obj = combined.obj)
write_clip(names(head(topGenes[-(1:6)], n = 50)))
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.