make.example.data: Make an example RNA-seq data.

View source: R/makeExampleRNAseqData.R

make.example.dataR Documentation

Make an example RNA-seq data.

Description

Make an example RNA-seq data.

Usage

make.example.data(n.gene = 2000, n.sample = 30, n.group = 2,
  n.batch = 3, p.DEgenes = 0.2, common.BCV = 0.25, type = "bulk")

Arguments

n.gene

number of genes.

n.sample

number of samples/cells.

n.group

number of biological group.

n.batch

number of batchs.

p.DEgenes

fraction of genes with DE between simulated groups

common.BCV

common biological coefficient of variation

type

type gene expression data, either bulk RNA-seq (type="bulk") or single cell RNA-seq (type="sc")

Value

a SingleCellExperiment object.

Examples

make.example.data()
 

CenterForStatistics-UGent/PIMseq documentation built on Jan. 15, 2024, 3:49 a.m.