Description Usage Arguments Value Examples
Finds markers that are conserved between the two groups
1 2 | FindConservedMarkers(object, ident.1, ident.2 = NULL, grouping.var,
assay.type = "RNA", meta.method = minimump, ...)
|
object |
An object |
ident.1 |
Identity class to define markers for |
ident.2 |
A second identity class for comparison. If NULL (default) - use all other cells for comparison. |
grouping.var |
grouping variable |
assay.type |
Type of assay to fetch data for (default is RNA) |
meta.method |
method for combining p-values. Should be a function from the metap package (NOTE: pass the function, not a string) |
... |
parameters to pass to FindMarkers |
Matrix containing a ranked list of putative conserved markers, and associated statistics (p-values within each group and a combined p-value (such as Fishers combined p-value or others from the MetaDE package), percentage of cells expressing the marker, average differences)
1 2 3 4 5 6 7 | ## Not run:
pbmc_small
# Create a simulated grouping variable
pbmc_small[['groups']] <- sample(x = c('g1', 'g2'), size = ncol(x = pbmc_small), replace = TRUE)
FindConservedMarkers(pbmc_small, ident.1 = 0, ident.2 = 1, grouping.var = "groups")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.