Description Usage Arguments Value Note See Also Examples
View source: R/hiReadsProcessor.R
Given distinct fragment lengths per integration, the function calculates
sonic abundance as described in sonicLength
. This function is
called by clusterSites
and needs all individual fragments
lengths per position to properly estimate the clonal abundance of an
integration sites in a given population.
1 2 3 4 5 6 7 8 |
posID |
a vector of discrete positions, i.e. Chr,strand,Position. Required if psl.rd parameter is not defined. |
fragLen |
a vector of fragment length per posID. Required if psl.rd parameter is not defined. |
grouping |
additional vector of grouping of length posID or psl.rd by which to pool the rows (i.e. samplenames). Default is NULL. |
replicateNum |
an optional vector of the replicate number per grouping and posID. Default is NULL. |
psl.rd |
a GRanges object returned from |
parallel |
use parallel backend to perform calculation with
|
a data frame with estimated sonic abundance shown alongside with the original input. If psl.rd parameter is defined then a GRanges object is returned with a new column 'estAbund'.
For samples isolated using traditional restriction digest method, the abundance will be inaccurate as it is designed for sonicated or sheared sample preparation method.
clusterSites
, otuSites
,
findIntegrations
, getIntegrationSites
,
pslToRangedObject
1 2 3 4 | data("A1",package='sonicLength')
A1 <- droplevels(A1[1:1000,])
bore <- with(A1, getSonicAbund(locations, lengths, "A", replicates))
head(bore)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.