Plot_H2_enrichment_coefficient: Plot S-LDSC H2 enrichment & coefficient per annotation

Description Usage Arguments Value

View source: R/LDSC_SummariseOutput_Functions.R

Description

Function plotting enrichment, coefficient and coefficient p-value of annotation, with GWASs facetted.

Usage

1
2
3
4
5
6
7
8
Plot_H2_enrichment_coefficient(
  h2_results,
  x_axis,
  xlab,
  fill_variable = NULL,
  colour,
  pvalue_cutoff
)

Arguments

h2_results

Dataframe with overall heritability.

x_axis

character. Variable to be plotted on the x-axis.

xlab

character. X-axis name in quotation marks.

fill_variable

character. Variable to be used to determine the fill colour of bars/points. Default is NULL.

colour

character vector. If fill_variable not NULL then supply colours to be used.

pvalue_cutoff

numeric. P-value cutoff after multiple test correction for number of annotations and GWASs.

Value

Plot


RHReynolds/LDSCforRyten documentation built on Sept. 27, 2021, 5:20 p.m.