Learn R Programming

specmine (version 3.1.6)

peaks_per_samples: Peaks per samples

Description

Calculates the number of peaks on each sample.

Usage

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

Run this code
# NOT RUN {
    ## Example of counting the peaks in each sample
	library(specmine.datasets)
    data(propolisSampleList)
    num.peaks.samples = peaks_per_samples(propolisSampleList)
# }

Run the code above in your browser using DataLab