Identify marker feats for all clusters in a one vs all manner based on the MAST package.
findMastMarkers_one_vs_all(
gobject,
feat_type = NULL,
spat_unit = NULL,
expression_values = c("normalized", "scaled", "custom"),
cluster_column,
subset_clusters = NULL,
adjust_columns = NULL,
pval = 0.001,
logFC = 1,
min_feats = 10,
min_genes = NULL,
verbose = TRUE,
...
)
giotto object
feature type
spatial unit
feat expression values to use
clusters to use
selection of clusters to compare
column in pDataDT to adjust for (e.g. detection rate)
filter on minimal p-value
filter on logFC
minimum feats to keep per cluster, overrides pval and logFC
deprecated, use min_feats
be verbose
additional parameters for the zlm function in MAST
data.table with marker feats
g <- GiottoData::loadGiottoMini("visium")
#> 1. read Giotto object
#> 2. read Giotto feature information
#> 3. read Giotto spatial information
#> 3.1 read Giotto spatial shape information
#> 3.2 read Giotto spatial centroid information
#> 3.3 read Giotto spatial overlap information
#> 4. read Giotto image information
#> python already initialized in this session
#> active environment : '/usr/bin/python3'
#> python version : 3.10
#> checking default envname 'giotto_env'
#> a system default python environment was found
#> Using python path:
#> "/usr/bin/python3"
findMastMarkers_one_vs_all(gobject = g, cluster_column = "leiden_clus")
#> Error: package 'MAST' is not yet installed
#>
#> To install:
#> if(!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager');
#> BiocManager::install(c("MAST"))