augment_sva: Tidying methods for a sva list
Description
These are methods for turning a sva list, from the sva package, into a tidy data frame.
tidy
returns a data.frame of the estimated surrogate variables, glance
returns a data.frame
of the posterior probabilities, and glance
returns a
data.frame with only the number of surrogate variables.
Usage
augment_sva(x, data, ...)
tidy_sva(x, addVar = NULL, ...)
glance_sva(x, ...)
Arguments
...
extra arguments (not used)
addVar
add additional coefficients to the estimated surrogate variables
Value
All tidying methods return a data.frame
without rownames.
The structure depends on the method chosen.augment
returns one row per gene. It always
contains the columns
- pprob.gam
- Posterior probability each gene is affected by heterogeneity
- pprob.b
- Posterior probability each gene is affected by model
tidy
returns the estimate surrogate variables.glance
returns the estimate surrogate variables.