pData-replace: Replacement method for pData slot in ballgown objects

Description Usage Arguments Examples

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

alyssafrazee/ballgown-release documentation built on May 12, 2019, 1:40 a.m.