addFeature {transcriptR} | R Documentation

## addFeature

### Description

Add feature(s) to the `ChipDataSet` object.

### Usage

    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

    ### 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)

[Package transcriptR version 1.8.0 Index]