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

ballgown documentation built on May 20, 2017, 10:33 p.m.

Search within the ballgown package
Search all R packages, documentation and source code