bkng_mean: Compute the background means.

Description Usage Arguments Value Author(s)

Description

Compute the background means.

Usage

1
bkng_mean(inputdat, target, nknots = 2, family = "lognormal")

Arguments

inputdat

A matrix for the input counts at each locus (column) for each experiment (row).

target

A RangedData object with two fiels named "mappability" and "GC".The length of target must be the same as the column of inputdat.

nknots

A integer for the number of knots for the spline function. Default: 2.

family

A string for the distributional family. Must be either "lognormal" (default) or "negbin".

Value

A numeric matrix for the background counts at each locus (column) for each experiment (row).

Author(s)

Chandler Zuo zuo@stat.wisc.edu


chandlerzuo/mbasic documentation built on May 13, 2019, 3:24 p.m.