Description Usage Arguments Value
View source: R/gwas_to_granges.R
Convert GWAS data in data.table to GenomicRanges object
1 2 3 4 5 6 7 | gwas_to_granges(
data_table,
bp_label = "BP38",
chr_label = "CHR38",
max_p = NULL,
min_p = NULL
)
|
data_table |
data.table containing GWAS data |
bp_label |
name of basepair column |
chr_label |
name of chromosome column |
max_p |
non-inclusive upper bound on p-values |
min_p |
lower bound on p-values |
GenomicRanges object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.