addFeature

Share:

Description

Add feature(s) to the ChipDataSet object.

Usage

1
2
3
4
addFeature(object, feature)

## S4 method for signature 'ChipDataSet'
addFeature(object, feature)

Arguments

object

A ChipDataSet object.

feature

List. User specified characteristics of the peaks.

Value

The user specified feature(s) will be added to the slot features of the provided ChipDataSet object.

Author(s)

Armen R. Karapetyan

See Also

constructCDS predictTssOverlap

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
### Load ChipDataSet object
data(cds)

### As an example create some fake data
N <- length(getPeaks(cds))
fake.data <- rnorm(n = N)

addFeature(object = cds, feature = list(fake = fake.data))

### View newly added feature
getPeaks(cds)