cal_amp_bias: Simulate technical biases. (This function is borrowed from...

Description Usage Arguments Value References

View source: R/esco-simulate.R

Description

Simulate technical biases. (This function is borrowed from SymSim).

Usage

1
cal_amp_bias(lenslope, nbins, gene_len, amp_bias_limit)

Arguments

lenslope

amount of length bias. This value s ould be less than 2*amp_bias_limit[2]/(nbins-1)

nbins

number of bins for gene length

gene_len

transcript length of each gene

amp_bias_limit

range of amplification bias for each gene, a vector of length ngenes

Value

the technical bias

References

Zhang X, Xu C, Yosef N. Simulating multiple faceted variability in single cell RNA sequencing. Nature communications. 2019 Jun 13;10(1):1-6. https://www.nature.com/articles/s41467-019-10500-w


JINJINT/splattermodify documentation built on May 19, 2021, 4:05 p.m.