Simulates RFLP data for comparions of algorithms.
integer: number samples which shall be simulated per number of bands.
integer: vector of number of bands.
numeric: vector of band centers.
numeric: uniform distribution with
logical: if TRUE, additonal columns
The function can be used to simulate RFLP data. For every number of band specified in
nrBands a total number of
N samples are generated.
First the band centers are randomly selected (with replacement) from
which form the centers of intervals of length
2*delta. From these intervals
uniform random numbers are drawn leading to randomly generated RFLP data.
A data frame with
N*length(nrBands) observations on the following four variables
character: sample identifier.
integer: band number.
integer: molecular weight.
character: enzyme name.
is generated. If
refData = TRUE then the following two additional variables
character: taxon name.
character: accession number.
Mohammed Aslam Imtiaz, Matthias Kohl Matthias.Kohl@stamats.de
simData <- simulateRFLPdata()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.