Description Usage Arguments Details Value Examples
View source: R/seurat_to_generes.R
Takes processed Seurat matrix and identifies cell-type markers with FindMarkers.
1 | seurat_to_generes(pbmc, test = "wilcox")
|
pbmc |
Processed Seurat object. |
test |
statistical test for calling CT markers – must be in Seurat |
Internal: This function runs the FindMarkers function from seurat in a loop, will use the Seurat v2 or Seurat v3 object after identifying which Seurat object is inputted. It then takes the output of the FindMarkers and puts it in a list, returning it.
seurat_to_generes
A list of genes where their over-representation in the i'th cell-type is computed. Each element contains the gene name, adjusted p-value, and the log2Fold-Change of each gene being present in that cell-type.
1 2 3 4 5 6 |
data(sm)
toProcess <- list(example = sm)
tst1 <- process_from_count(toProcess, "testProcess")
generes <- seurat_to_generes(tst1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.