Identify marker genes for all or selected clusters based on scran's implementation of findMarkers.
findScranMarkers(
gobject,
expression_values = c("normalized", "scaled", "custom"),
cluster_column,
subset_clusters = NULL,
group_1 = NULL,
group_2 = NULL,
verbose = FALSE,
...
)
giotto object
gene expression values to use
clusters to use
selection of clusters to compare
group 1 cluster IDs from cluster_column for pairwise comparison
group 2 cluster IDs from cluster_column for pairwise comparison
be verbose (default = FALSE)
additional parameters for the findMarkers function in scran
data.table with marker genes
This is a minimal convenience wrapper around
the findMarkers
function from the scran package.
To perform differential expression between cluster groups you need to specificy cluster IDs to the parameters group_1 and group_2.
data(mini_giotto_single_cell)
scran_markers = findScranMarkers(gobject = mini_giotto_single_cell,
cluster_column = 'leiden_clus',
group_1 = 1,
group_2 = 2)