pData<- {ballgown} | R Documentation

## Replacement method for pData slot in ballgown objects

### Description

Replacement method for pData slot in ballgown objects

### Usage

    pData(object) <- value

    ## S4 replacement method for signature 'ballgown,ANY'
    pData(object) <- value

### Arguments

`object` | a ballgown object
`value` | the updated value for `pData(x)`.

### Examples

    # add "timepoint" covariate to ballgown object:
    data(bg) # already contains pData
    pData(bg) = data.frame(pData(bg), timepoint=rep(1:10, 2))
    head(pData(bg))

[Package ballgown version 2.12.0 Index]