R/foo.R
plotpairs2.Rd
plot pair-wise correlations with p value. in: a dataframe. out: a figure.
plotpairs2(data, lower.panel = panel.smooth, upper.panel = panel.cor, diag.panel = panel.diag, lwd = 2, col = "grey", labels = "", cex.labels = 4)
data | a dataframe |
---|---|
lower.panel | can be panel.lm or panel.smooth |
upper.panel | panel.cor |
diag.panel | panel.diag |
lwd | numeric |
col | colors |
labels | character |
cex.labels | character |
a pair plot
#> [1] "p<0.01"#> [1] "p<0.01"#> [1] "p<0.01"