escoSimTreeDE: Simulate differential expression (DE) factors for tree...

Description Usage Arguments Details Value References

View source: R/esco-simulate.R

Description

DE factors for each tree branches are produced using getLNormFactors with means follows a multivariate normal ditribution, where the correlation relationship is generated from the tree structure.

Usage

1
escoSimTreeDE(sim, verbose)

Arguments

sim

SingleCellExperiment to add differential expression to.

verbose

logical. Whether to print progress messages

Details

The method of simulating paths is inspired by the method used in SymSim simulation. Particularly, the tree structure is generated by making the DE factors more similar for closer tree branches, and less similar for far away tree branches. The tree structure is input through tree in object escoParams, and we generate the relationship between DE factors for different branches from the estimated evolutionary variance-covariance matrix of the tree using vcv.phylo.

Value

SingleCellExperiment with simulated differential expression.

References

Zhang, X., Xu, C. & Yosef, N. Simulating multiple faceted variability in single cell RNA sequencing. Nat Commun 10, 2611 (2019). https://doi.org/10.1038/s41467-019-10500-w.


JINJINT/ESCO documentation built on May 13, 2021, 7:25 p.m.