Replacement method for pData slot in ballgown objects

Description

Replacement method for pData slot in ballgown objects

Usage

1
2
3
4
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

1
2
3
4
# 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))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.