powered by
Counts number of peaks in a sample (given its index).
peaks_per_sample(sample.list, sample.index)
list of data frames with the samples' peaks.
sample index.
Return a integer value with the number of peaks in the sample.
# NOT RUN { ## Example of counting the peaks in a sample library(specmine.datasets) data(propolisSampleList) num.peaks.sample = peaks_per_sample(propolisSampleList, 4) # }
Run the code above in your browser using DataLab