generateBinningInfo: generateBinningInfo

Description Usage Arguments Value Author(s)

View source: R/generateBinningInfo.R

Description

Creates the part of the template called the binning information from a dataset.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
generateBinningInfo(
  data,
  lbnonlog = 5L,
  ubnonlog = 1300L,
  rescale = TRUE,
  numPoints = 1000L,
  poolSize = 500L,
  step = 5e-04,
  toplim = 1000L
)

Arguments

data

Numeric matrix

lbnonlog

lower bound in original scale. Should stretch a bit outside the intended range.

ubnonlog

upper bound in original scale. Should stretch a bit outside the intended range.

rescale

If the data should be rescaled to TPM before the calculation. Defaults to true.

numPoints

number of points for the distribution

poolSize

number of genes to pool at each point in the distribution

step

increase in lower and upper bound to get enough genes at each point in the distribution

toplim

maximum number of iterations to obtain the frequency at each point in the distribution

Value

list(means, lower bounds, upper bounds)

Author(s)

Juan Inda, <inda@chalmers.se>


SysBioChalmers/DSAVE-R documentation built on Oct. 19, 2021, 11:37 p.m.