test.trajectory {TreeDimensionTest}R Documentation

Tree Dimension Test

Description

Computes the statistical significance for the presence of trajectory in multivariate data.

Usage

test.trajectory(
  x,
  perm = 100,
  MST = c("boruvka", "exact"),
  dim.reduction = c("pca", "none")
)

Arguments

x

matrix of input data. Rows as observations and columns as features.

perm

number of simulations to compute null distribution parameters by maximum likelihood estimation.

MST

the MST algorithm to be used in test. There are two options: "exact" MST and "boruvka" which is approximate but faster for large samples.

dim.reduction

string parameter with value "pca" to perform dimensionality reduction or "none" to not perform dimensionality reduction before the test.

Details

If the input data is already after dimension reduction, use dim.reduction="none". The method is described in (Tenha and Song 2022).

Value

A list with the following components:

References

Tenha L, Song M (2022). “Inference of trajectory presence by tree dimension and subset specificity by subtree cover.” PLOS Computational Biology, 18(2), e1009829. doi: 10.1371/journal.pcbi.1009829.


[Package TreeDimensionTest version 0.0.2 Index]