SPsimPerGene: A function that generates the simulated data for a single...

View source: R/SPsimPerGene.R

SPsimPerGeneR Documentation

A function that generates the simulated data for a single gene

Description

A function that generates the simulated data for a single gene

Usage

SPsimPerGene(
  cumDens,
  exprmt.design,
  sel.genes.ii,
  log.CPM.transform,
  prior.count,
  LL,
  copSam,
  model.zero.prob,
  fracZero.logit.list,
  const.mult
)

Arguments

cumDens

cumulative density

exprmt.design

the experiment design

sel.genes.ii

selected gene

log.CPM.transform

a boolean, is log-CPM transform required?

prior.count

the prior count

LL

the library sizes

copSam

the generated copula

model.zero.prob

a boolean, should the zeroes be modelled separately

fracZero.logit.list

The zero model

const.mult

a large constant for the CPM transform, normally 1e6

Value

Simulated cpm values


CenterForStatistics-UGent/SPsimSeq documentation built on Nov. 21, 2024, 6:30 a.m.