peaks_per_samples: Peaks per samples

Description Usage Arguments Value Examples

Description

Calculates the number of peaks on each sample.

Usage

1
peaks_per_samples(sample.list)

Arguments

sample.list

list of data frames with the samples' peaks.

Value

Returns a numeric vector with the number of peaks on each sample.

Examples

1
2
3
4
    ## Example of counting the peaks in each sample
	library(specmine.datasets)
    data(propolisSampleList)
    num.peaks.samples = peaks_per_samples(propolisSampleList)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.