View source: R/check_miami_input.R
check_miami_input | R Documentation |
Check input to miami plot
check_miami_input(data, split_by, split_at, chr = "chr", pos = "pos", p = "p")
data |
A data.frame object. Required. |
split_by |
A character vector. The name of the column to use for splitting into upper and lower sections of the Miami plot. Required. |
split_at |
A character or numeric vector. If numeric, the upper plot
will contain your results where the values in the |
chr |
The name of the column containing your chromosome information. Defaults to "chr" |
pos |
The name of the column containing your position information. Defaults to "pos" |
p |
The name of the column containing your p-value information. Defaults to "p" |
If no problems, executes silently. Will return an error message if there are problems.
Julie White
https://github.com/juliedwhite/miamiplot
check_miami_input(data = gwas_results, split_by = "beta", split_at = 0, p = "pval")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.