end: Get or set the end position of genomic features

Description Usage Arguments Value See Also Examples

Description

Get or set the end position of genomic features

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
end(x, ...)

end(x, ...) <- value

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

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

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

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

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

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

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

## S4 method for signature '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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

gschofl/biofiles documentation built on Sept. 27, 2020, 12:08 a.m.