Learn R Programming

biofiles (version 1.0.0)

fuzzy: Has a feature fuzzy locations?

Description

With a GenBank location like complement(<123..150) we don't know the exact start position of the feature. Use fuzzy to test for fuzzy locations.

Usage

fuzzy(x, ...)

# S4 method for gbLocation fuzzy(x)

# S4 method for gbFeature fuzzy(x)

# S4 method for gbFeatureTable fuzzy(x)

# S4 method for gbRecord fuzzy(x)

# S4 method for gbRecordList fuzzy(x)

Arguments

x

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

...

Further arguments passed to methods.

Value

A logical matrix.

Examples

Run this code
# NOT RUN {
l <- as.gbLocation("complement(<123..150)")
fuzzy(l)

## note that start() or end() return exact positions even if they are fuzzy.
start(l)
# }

Run the code above in your browser using DataLab