Learn R Programming

biofiles (version 1.0.0)

hasKey: Has a feature a specific key?

Description

Has a feature a specific key?

Usage

hasKey(x, key, ...)

# S4 method for gbFeature hasKey(x, key)

# S4 method for gbFeatureTable hasKey(x, key)

# S4 method for gbRecord hasKey(x, key)

# S4 method for gbRecordList hasKey(x, key)

Arguments

x

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

key

A feature key.

...

Additional arguments to be passed to or from methods.

Value

A logical vector or a list of logical vectors.

See Also

key

Examples

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

Run the code above in your browser using DataLab