| in.peak.region | R Documentation | 
These functions take an electrophoresis object and check whether each data point is within a specified peak or region.
in.peak(electrophoresis, which.peak)
in.region(electrophoresis, which.region)
electrophoresis | 
 An   | 
which.peak | 
 The integer index of a peak in   | 
which.region | 
 The integer index of a region in   | 
Data points are considered to be within the boundaries of a peak if their original x-value ('aligned.time' for Bioanalyzer, 'relative.distance' for TapeStation) is within the boundaries reported by the Agilent software, but for regions the length boundaries are used.
A vector of logicals with length nrow(electrophoresis$data).
in.custom.region, in.peaks, in.regions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.