corr_volcano_ylim: corr_volcano_ylim Volcano plot for correlation coefficients...

Description Usage Arguments Author(s) Examples

View source: R/plot_corr.R

Description

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

Usage

1
corr_volcano_ylim(cor_r, cor_p, y_lim, name, r_c = 0.3, p_c = 0.05)

Arguments

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

Author(s)

yzeng

Examples

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")

yzeng-lol/meeqtl documentation built on Dec. 23, 2021, 9:10 p.m.