updateClus-methods: Update the label of peaks in 'bed' slot of an 'chip' object

Description Usage Arguments Value

Description

Update the label of peaks (the 4th column) in bed slot of an chip object, according to the integer position (IntIdx), by the new lables (subclus).

Usage

1
2
3
4
updateClus(chip.obj, IntIdx, subclus)

## S4 method for signature 'chip'
updateClus(chip.obj, IntIdx, subclus)

Arguments

chip.obj

A chip object.

IntIdx

An integer/numeric vector specify a subset or all of labels in the bed slot of chip object to be updated by given factor/character vector of subclus.

subclus

A factor/character vector of the same length as IntIdx specifying new labels for peak clusters.

Value

An updated chip object


ericaenjoy3/TdAvg documentation built on May 8, 2019, 3:45 p.m.