Learn R Programming

biofiles (version 1.0.0)

hasQualif: Has a feature a specific qualifier?

Description

Has a feature a specific qualifier?

Usage

hasQualif(x, qualifier, ...)

# S4 method for gbFeature hasQualif(x, qualifier)

# S4 method for gbFeatureTable hasQualif(x, qualifier)

# S4 method for gbRecord hasQualif(x, qualifier)

# S4 method for gbRecordList hasQualif(x, qualifier)

Arguments

x

A '>gbFeature, '>gbFeatureTable, '>gbRecord, or '>gbRecordList object.

qualifier

A character string. Name of a qualifier.

...

Additional arguments to be passed to or from methods.

Value

A logical vector or a list of logical vectors.

See Also

qualifList, to extract a list of available qualifiers for each feature; uniqueQualifs, for a vector of all unique qualifiers present in an object.

Examples

Run this code
# NOT RUN {
load(system.file("extdata", "marine_metagenome.rda", package = "biofiles"))
hasQualif(x, 'CDS')
# }

Run the code above in your browser using DataLab