Description Usage Arguments Examples
View source: R/reshape.DEswan.R
Reshape DE-SWAN output
1 | reshape.DEswan(res.DEswan, parameter, factor)
|
res.DEswan: |
a data Frame - output from DEswan |
parameter: |
an optional numeric - 1 for pvalue or 2 for coefficients. Default is 1 |
factor: |
an optional character string - qt or covariates in DEswan. Default is qt. |
1 2 3 4 5 6 7 8 9 10 11 12 | res.DEswan=DEswan(data.df = agingplasmaproteome[,-c(1:3)],
qt = agingplasmaproteome[,1],
window.center = seq(40,100,10),
buckets.size = 10,
covariates = agingplasmaproteome[,c(2:3)])
head(res.DEswan$p)
head(res.DEswan$coeff)
res.DEswan.wide.p=reshape.DEswan(res.DEswan)
res.DEswan.wide.p=reshape.DEswan(res.DEswan,parameter = 1,factor = "qt")
head(res.DEswan.wide.p)
res.DEswan.wide.coeff=reshape.DEswan(res.DEswan,parameter = 2,factor = "qt")
head(res.DEswan.wide.coeff)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.