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

Description Usage Arguments Value

View source: R/SPsimPerGene.R

Description

A function that generates the simulated data for a single gene

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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


SPsimSeq documentation built on Nov. 8, 2020, 5:09 p.m.