FindDEGs(
  spe,
  use_cluster = "clusters",
  cluster1 = NULL,
  cluster2 = NULL,
  features = NULL,
  logfc.threshold = 0.25,
  test.use = "wilcox",
  ...
)

Arguments

spe

spe A SpatialExperiment object with cluster labels for each cell/spot in colData.

use_cluster

a string, the name in colData denoting the cluster labels.

cluster1

An optional positive integer, specify the number of features to be extracted.

cluster2

A random seed to be used.

features

a string vector, specify the gene list to do differential gene expression analysis.

logfc.threshold

a real, the threshold of log fold change to determine which genes are returned.

test.use

a string, the test to use.

...

other arguments pass to FindAllMarkers.

Value

return a dataframe with the DEG analysis results.

See also

None