R/copheplots.R
cophe_plot.Rd
cophe_plots showing the Ha and Hc of all traits and labelled above the specified threshold
cophe_plot(
multi.dat,
querysnpid,
query_trait_names,
thresh_Hc = 0.5,
thresh_Ha = 0.5,
beta_p = NULL,
traits.dat = NULL,
group_pheno = NULL
)
multi trait cophescan results returned from cophe.multitrait or multitrait.simplify
query variant (only a single variant for PheWAS plots)
list of phenotype names
Hc threshold to be displayed
Ha threshold to be displayed
data.frame (from the get.beta
function) with four columns : 1. "beta_plot": indicating beta direction (p or n) 2. "beta_plot": -log10(pval) of the queried variant 3. "querysnp" 4. "querytrait".
list of multi-trait coloc structured datasets
Vector with additional grouping of phenotypes
cophescan plots of Ha and Hc