binNGS: Bin NGS data

Description Usage Arguments Details Author(s) References Examples

View source: R/NGS.R

Description

To construct a histogram for NGS data.

Usage

1
  bin.NGS(x, sLog,n.first=10)

Arguments

x

Next-Generation Sequencing data or similar. Could have a lot of zeros but negative values are not allowed

sLog

If sLog is missing, no sLog transformation. Otherwise, do sLog(x)=log(x+c).

n.first

The number of first few NGS measurements for single-value classes.

Details

Histogram type density estimation via binning.

Author(s)

B. Wang [email protected]

References

AS 254, ...

Examples

1
2
3
4
5
 # To be updated.
 x = rexp(100,1)
 x = c(rep(0,20),x)
 out = fit.NGS(x)
 plot(out)

bda documentation built on Jan. 5, 2018, 9:04 a.m.

Related to binNGS in bda...