get_position | R Documentation |
Append two columns, chromosome (chr) and position (pos), to the input data.frame.
get_position(x, genome = c("hg19", "hg38"))
x |
(data.frame) Input data.frame. |
genome |
(string, optional) Genome assembly, either 'hg19' or 'hg38'. Default: 'hg19'. |
in_fn = system.file('extdata', 'gwas.tsv', package = 'locuscomparer') d1 = read_metal(in_fn, marker_col = 'rsid', pval_col = 'pval') get_position(d1, genome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.