Identify marker genes for selected clusters based on the MAST package.
findMastMarkers(
gobject,
expression_values = c("normalized", "scaled", "custom"),
cluster_column,
group_1 = NULL,
group_1_name = NULL,
group_2 = NULL,
group_2_name = NULL,
adjust_columns = NULL,
verbose = FALSE,
...
)
giotto object
gene expression values to use
clusters to use
group 1 cluster IDs from cluster_column for pairwise comparison
custom name for group_1 clusters
group 2 cluster IDs from cluster_column for pairwise comparison
custom name for group_2 clusters
column in pDataDT to adjust for (e.g. detection rate)
be verbose
additional parameters for the zlm function in MAST
data.table with marker genes
This is a minimal convenience wrapper around the zlm
from the MAST package to detect differentially expressed genes. Caution: with large datasets
MAST might take a long time to run and finish
if (FALSE) {
data(mini_giotto_single_cell)
mast_markers = findMastMarkers(gobject = mini_giotto_single_cell,
cluster_column = 'leiden_clus',
group_1 = 1,
group_2 = 2)
}