Learn R Programming

bda (version 10.1.9)

bin.NGS: Bin NGS data

Description

To construct a histogram for NGS data.

Usage

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.

References

AS 254, ...

Examples

Run this code
# NOT RUN {
 # To be updated.
 x = rexp(100,1)
 x = c(rep(0,20),x)
 out = fit.NGS(x)
 plot(out)
# }

Run the code above in your browser using DataLab