simSonic {sonicLength} | R Documentation |
Simulate Sonicated Data
Description
Sonication and Processing of DNA containing retroviral sequences yields genomic locations of retroviral insertion sites and a set of associated fragment lengths. The simulation depends on the expected number of fragments from each site and the distribution of lengths.
Usage
simSonic( theta, phi )
Arguments
theta |
a vector of expected number of fragments from each site. If the vector has unqiue names, these will be used to label the locations |
phi |
a vector of probabilities (or a list containing a vector
named |
Details
This object can provide the arguments used by estAbund
Value
a data.frame
with columns locations
,
lengths
, and replicates
. See estAbund
for
more details.
Author(s)
Charles C. Berry ccberry@users.r-forge.r-project.org
Examples
theta <- seq(0.5,20.5,by=0.5)
phi <- prop.table(1:10)
names(phi) <- paste( 1 , 51:60 )
res <- simSonic( theta, phi )
head(res)
tail(res)
summary(res)