ranges-setters: Functional setters for Ranges objects

set_widthR Documentation

Functional setters for Ranges objects

Description

Functional setters for Ranges objects

Usage

set_width(x, width)

set_start(x, start = 0L)

set_end(x, end = 0L)

set_seqnames(x, seqnames)

set_strand(x, strand)

Arguments

x

a Ranges object

width

integer amount to modify width by

start

integer amount to modify start by

end

integer amount to modify end by

seqnames

update seqnames column

strand

update strand column

Details

These methods are used internally in mutate() to modify core columns in Ranges objects.

Value

a Ranges object


sa-lee/plyranges documentation built on April 15, 2024, 12:25 p.m.