Description Usage Arguments Value
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.
1 2 3 4 5 | augment_sva(x, data, ...)
tidy_sva(x, addVar = NULL, ...)
glance_sva(x, ...)
|
x |
sva list |
data |
Original data |
... |
extra arguments (not used) |
addVar |
add additional coefficients to the estimated surrogate variables |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.