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 documentation built on Sept. 3, 2021, 7:15 p.m.