bp.sim.control: Creates control samples for simulations involving...

Description Usage Arguments Details Value References Examples

View source: R/bp.sim.control.R

Description

Creates control samples for simulations involving Beta-Poisson (BP) models

Usage

1
bp.sim.control(DATA,N1,seedex)

Arguments

DATA

matrix of single-cell RNA-sequencing expression data with genes in rows and samples (cells) in columns

N1

size of the samples drawn from the control BP models

seedex

seed used for sampling from the fitted BP models to ensure reproducibility

Details

Creates control samples for simulations involving BP models. For a given single-cell RNA-sequencing data set, a five-parameter BP model (Vu et al., 2016) is fitted to each gene. Then, it is checked whether the BP model is actually a good fit following the procedure in Vu et al. (2016), and instances with a good fit are kept. For each of those well-fitted genes, a sample of size N1 is drawn from the respective fitted BP model.

Value

A list of two:

References

R. Schefzik (2021). SimBPDD: Simulating differential distributions in Beta-Poisson models, in particular for single-cell RNA-sequencing data. Annales Mathematicae et Informaticae, 53:283-298. Available at https://ami.uni-eszterhazy.hu/uploads/papers/finalpdf/AMI_53_from283to298.pdf
T. N. Vu, Q. F. Wills, K. R. Kalari, N. Niu, L. Wang, M. Rantalainen, and Y. Pawitan (2016). Beta-Poisson model for single-cell RNA seq data analyses. Bioinformatics, 32:2128-2135.

Examples

1
2
3
N1<-500
seedex<-24
ctrl<-bp.sim.control(DATA.EX,N1,seedex)

RomanSchefzik/SimBPDD documentation built on May 24, 2021, 1:28 a.m.