subset-BSFDataSet: Subset a BSFDataSet object

subset-BSFDataSetR Documentation

Subset a BSFDataSet object

Description

You can subset BSFDataSet by identifier or by position using the `[` operator. Empty seqlevels are being droppend after the subset.

Usage

## S4 method for signature 'BSFDataSet,ANY,ANY,ANY'
x[i, j, ..., drop = FALSE]

Arguments

x

A BSFDataSet object.

i

Position of the identifier or the name of the identifier itself.

j

Not used.

...

Additional arguments not used here.

drop

if the signal not covered by the subsetted ranges should be dropped or not

Value

A BSFDataSet object.

Examples

# load data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))

bdsNew = bds[1:10]


ZarnackGroup/BindingSiteFinder documentation built on May 31, 2024, 3:29 a.m.