Learn R Programming

biofiles (version 1.0.0)

end: Get or set the end position of genomic features

Description

Get or set the end position of genomic features

Usage

end(x, ...)

end(x, ...) <- value

# S4 method for gbLocation end(x, join = FALSE)

# S4 method for gbLocation end(x, ...) <- value

# S4 method for gbFeature end(x, join = FALSE)

# S4 method for gbFeature end(x, ...) <- value

# S4 method for gbFeatureTable end(x, join = FALSE)

# S4 method for gbFeatureTable end(x, ...) <- value

# S4 method for gbRecord end(x, join = FALSE)

# S4 method for gbRecordList end(x, join = FALSE)

Arguments

x

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

...

Further arguments passed to methods.

value

The end information to set on x.

join

Join compound genomic locations into a single range.

Value

An integer vector or a list of integer vectors.

See Also

start, strand, span, ranges

Examples

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

## end
end(x)
cds <- x["CDS"]
end(cds)

## `end<-`
end(cds) <- 1000
end(cds)
ranges(cds)
# }

Run the code above in your browser using DataLab