Description Usage Arguments Author(s) Examples
corr_volcano_ylim Volcano plot for correlation coefficients and p values. To deal with outliers are with extreme p values, therefore if(y > ylim)y = ylim
1 | corr_volcano_ylim(cor_r, cor_p, y_lim, name, r_c = 0.3, p_c = 0.05)
|
cor_r |
A numeric vector of correlation coefficients |
cor_p |
A numeric vector of correlation p-values |
y_lim |
The up limitation of the y |
name |
Name of output PNG figure |
r_c |
The absuloate cutoff of correlation coefficient, default = 0.3 |
p_c |
The cor.test p-value cutoff, default = 0.05 |
yzeng
1 2 3 | cor_r <- runif(1000, -1, 1)
cor_p <- runif(1000, 0, 1)
corr_volcano_ylim(cor_r, cor_p, 2, "test_corr_volcano_ylim_plot.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.