biofiles (version 1.0.0)

start: Get or set the start position of genomic features

Description

Get or set the start position of genomic features

Usage

start(x, ...)

start(x, ...) <- value

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

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

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

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

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

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

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

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

Arguments

x

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

...

Further arguments passed to methods.

value

The start 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

end, strand, span, ranges

Examples

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

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

## `start<-`
start(cds) <- 10
start(cds)
# }

Run the code above in your browser using DataCamp Workspace