Sim2Group: This function Sim2Group() simulates the gene expression data...

Description Usage Arguments Value Author(s) Examples

View source: R/Sim2Group.R

Description

Generates the gene expression data using one-way ANOVA model with two groups. The variance of both group should be same and the percentage of the DE genes will be given

Usage

1
Sim2Group(ng, n1, n2, var0 = 0.1, pde = 0.05)

Arguments

ng

The total number of genes to be generated.

n1

Number of samples in the first group.

n2

Number of samples in the second group.

var0

The variance of the both group.

pde

The proportion of the differentially expressed(DE) genes.

Value

This function returns the following components:

outmat

Simulated gene expression data for two groups.

DEtrue

True DE index.

Author(s)

Md.Shahjaman; shahjaman_brur@yahoo.com

Examples

1
2
3
4
5
n1=10;n2=10;
nG=1000
TSimDat<-Sim2Group(ng=nG,n1,n2,var0=0.1,pde=0.1)
Simdat<-TSimDat[[1]]
TrueDE<-TSimDat[[2]]

rMisbeta documentation built on Jan. 13, 2021, 6:28 a.m.