Learn R Programming

transcriptR (version 1.0.0)

addFeature: addFeature

Description

Add feature(s) to the ChipDataSet object.

Usage

addFeature(object, feature)
"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.

See Also

constructCDS predictTssOverlap

Examples

Run this code
### 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)

Run the code above in your browser using DataLab