R/downstream.R
FindDEGs.Rd
FindDEGs(
spe,
use_cluster = "clusters",
cluster1 = NULL,
cluster2 = NULL,
features = NULL,
logfc.threshold = 0.25,
test.use = "wilcox",
...
)
spe A SpatialExperiment object with cluster labels for each cell/spot in colData.
a string, the name in colData denoting the cluster labels.
An optional positive integer, specify the number of features to be extracted.
A random seed to be used.
a string vector, specify the gene list to do differential gene expression analysis.
a real, the threshold of log fold change to determine which genes are returned.
a string, the test to use.
other arguments pass to FindAllMarkers
.
return a dataframe with the DEG analysis results.
None