ADtest: Aderson-Darling test

Description Usage Arguments Value

View source: R/preprocess.R

Description

Test if gene expression in different sampling time points come from a common population

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ADtest(
  sce,
  datatype = "logcounts",
  condition,
  useLevels = NULL,
  genes.use = "find.hvgs",
  sample.cells = 1000,
  adj.method = "none",
  thr.padj = 0.001,
  r.implement = FALSE,
  ncore = 4
)

Arguments

sce

SingleCellExperiment object.

datatype

Sepcify the data type in sce for filtering.

condition

Conditions corresponding to cells.

useLevels

Subset conditions for test - default is NULL.

genes.use

A logical vector in rowData to specify the genes for calculation.

sample.cells

Sampling cell number in each condition to speed up testing.

adj.method

p-value correction method. See p.adjust for more detail.

r.implement

Whether to use R implement of AD test. If FALSE, I will use anderson_ksamp function in scipy.

ncore

Number of cores used for parallel.

Value

Adjusted p-value of Anderson-Darling test.


JiekaiLab/SOT documentation built on Jan. 25, 2022, 3:14 p.m.