Simul.data: Create a dataset

Description Usage Arguments Value Examples

View source: R/Simulation.R

Description

Create a dataset depending on the wanted data type

Usage

1
data(Data_Nanostring)

Arguments

type

Data type wanted. "RNAseq" simulates data with SimulateRnaSeqData() from the DEFormats package. "Microarrays" simulates data with the function madsim() from madsim package. "Nanostring" imports an already existing dataset, from real data.

n.cond1

Sample number in the first group

n.cond2

Sample number in the second group

nb.genes

Gene numbers

Value

Dataframe of gene expression values

Examples

1
2
3
4
5
6
# To get a RNAseq type data with 1000 genes and 2 groups of 15 samples
Data = Simul.data(type = "RNAseq", n.cond1 = 15, n.cond2 = 15, nb.genes = 1000)
# To get Microarray type data with 1000 genes and 2 groups of 15 samples
Data = Simul.data(type = "Microarrays", n.cond1 = 15, n.cond2 = 15, nb.genes = 1000)
# To get the non simulated Nanostring data
Data = Simul.data(type = "Nanostring")

jtcasemajor/GENEXPRESSO documentation built on Dec. 21, 2021, 4:11 a.m.