Description Usage Arguments Value Examples
Counts number of peaks in a sample (given its index).
1 | peaks_per_sample(sample.list, sample.index)
|
sample.list |
list of data frames with the samples' peaks. |
sample.index |
sample index. |
Return a integer value with the number of peaks in the sample.
1 2 3 4 | ## Example of counting the peaks in a sample
library(specmine.datasets)
data(propolisSampleList)
num.peaks.sample = peaks_per_sample(propolisSampleList, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.