barbar: Accessor and replacement methods for barbar in FooRanges

barbarR Documentation

Accessor and replacement methods for barbar in FooRanges

Description

Functions that get or set the barbar slot from FooRanges

Usage

barbar(x, ...)

barbar(x, ...) <- value

## S4 method for signature 'FooRanges'
barbar(x)

## S4 replacement method for signature 'FooRanges,character'
barbar(x) <- value

Arguments

x

FooRanges object

...

additional arguments

value

replacement for barbar

Value

The character value in the barbar slot

Examples


library(GenomicRanges)
x <- GRanges("1", IRanges(1,10))
y <- FooRanges(x, barbar="hi")
barbar(y)
barbar(y) <- "hey"
barbar(y)


mikelove/s4demo documentation built on Oct. 27, 2023, 2:02 a.m.