Last chance! 50% off unlimited learning
Sale ends in
Finds markers that are conserved between the two groups
FindConservedMarkers(object, ident.1, ident.2 = NULL, grouping.var,
assay.type = "RNA", ...)
Seurat object
Identity class to define markers for
A second identity class for comparison. If NULL (default) - use all other cells for comparison.
grouping variable
Type of assay to fetch data for (default is RNA)
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 (fisher_pval), percentage of cells expressing the marker, average differences)
# NOT RUN {
pbmc_small
# Create a simulated grouping variable
pbmc_small@meta.data$groups <- sample(
x = c("g1", "g2"),
size = length(x = pbmc_small@cell.names),
replace = TRUE
)
FindConservedMarkers(pbmc_small, ident.1 = 1, ident.2 = 2, grouping.var = "groups")
# }
Run the code above in your browser using DataLab