read_metal | R Documentation |
Read association summary statistics from file and append column. The file must contain 2 columns: markers, i.e SNPs, and p-value. The marker column should contain SNP rsIDs.
read_metal(in_fn, marker_col = "rsid", pval_col = "pval")
in_fn |
(string) Path to the input file. |
marker_col |
(string, optional) Name of the marker column. Default: 'rsid'. |
pval_col |
(string, optional) Name of the p-value column. Default: 'pval'. |
in_fn = system.file('extdata', 'gwas.tsv', package = 'locuscomparer') d1 = read_metal(in_fn, marker_col = 'rsid', pval_col = 'pval')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.