Description Usage Arguments Details Value Examples
View source: R/TCC.simulation.R
Generate the fold change matrix for simulating count data under the Gammma distribution
1 2  makeFCMatrix(Ngene = 10000, PDEG = 0.20, DEG.assign = NULL,
replicates = NULL, fc.params = NULL)

Ngene 
numeric scalar specifying the number of genes. 
PDEG 
numeric scalar specifying the proportion of differentially expressed genes (DEGs). 
DEG.assign 
numeric vector specifying the proportion of DEGs up or
downregulated in individual groups to be compared. The number of
elements should be the same as that of 
replicates 
numeric vector indicating the numbers of (biological)
replicates for individual groups compared. Ignored if 
fc.params 
foldchanges of DEGs are randomly sampled from f + Γ(a, b) where a is a shape and b is a scale of Gamma distribution. The default values are f = 1.2, a = 2, and b = 0.5 
makeFCMatrix
function is a function for generating the foldchanges of
DEGs. The foldchanges are randomly sampled from f + Γ(a, b) where
a is a shape and b is a scale of Gamma distribution.
matrix
1  fc.matrix < makeFCMatrix()

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.