prep.for.rng: Prepare coverage-GC binning data for calculation of relative...

Description Usage Arguments Value

Description

take a 3-column (cov,len,gc) data.frame (bDf), subset by contig length (minl) and return a matrix of log10(cov) and gc data for use in make.rng.from.2d.binning.space

Usage

1
prep.for.rng(bDf,minl)

Arguments

bDf

is a data.frame containing columns named coverage (cov), length (len) and GC (gc)

minl

is a integer, being the inclusion threshold for minimum contig length

Value

A matrix containing two columns: lgcov (log10 coverage from bDf$cov) and gc (cov$gc). Rows index contigs, filtered for length via minl


rbhwilliams/newblerCG documentation built on May 27, 2019, 3 a.m.