Learn R Programming

PKbioanalysis (version 0.5.0)

is_integrated: Check if peak was integrated for a specific compound

Description

Check if peak was integrated for a specific compound

Usage

is_integrated(chrom_res, compound_id, sample_id = NULL)

# S4 method for ChromRes is_integrated(chrom_res, compound_id, sample_id = NULL)

# S4 method for ChromResBase is_integrated(chrom_res, compound_id, sample_id = NULL)

Value

logical

Arguments

chrom_res

ChromRes or ChromResBase object

compound_id

Compound ID

sample_id

Sample ID. If NULL, all samples are checked

Examples

Run this code
if (FALSE) {
lapply(1:10, \(x) is_integrated(chrom_res, sample_id = 1, compound_id = 1))
}

Run the code above in your browser using DataLab