Find differentially expressed markers for a MatisseObject
Source:R/dispatch.R
FindMarkers.MatisseObject.RdRuns FindMarkers on the embedded Seurat object.
Unlike most dispatch methods, this returns a data.frame of
marker statistics rather than an updated MatisseObject.
Usage
# S3 method for class 'MatisseObject'
FindMarkers(
object,
ident.1 = NULL,
ident.2 = NULL,
latent.vars = NULL,
group.by = NULL,
subset.ident = NULL,
assay = NULL,
reduction = NULL,
...
)Arguments
- object
A
MatisseObject.- ident.1
Identity class to define markers for; pass an object of class
phyloor 'clustertree' to find markers for a node in a cluster tree; passing 'clustertree' requiresBuildClusterTreeto have been run- ident.2
A second identity class for comparison; if
NULL, use all other cells for comparison; if an object of classphyloor 'clustertree' is passed toident.1, must pass a node to find markers for- latent.vars
Variables to test, used only when
test.useis one of 'LR', 'negbinom', 'poisson', or 'MAST'- group.by
Regroup cells into a different identity class prior to performing differential expression (see example);
"ident"to use Idents- subset.ident
Subset a particular identity class prior to regrouping. Only relevant if group.by is set (see example)
- assay
Assay to use in differential expression testing
- reduction
Reduction to use in differential expression testing - will test for DE on cell embeddings
- ...
Additional arguments forwarded to
FindMarkers(e.g.ident.1,ident.2,group.by,features).