Description Usage Arguments Value
Assign SNPs to LD blocks
1 | assign_snp_block(snp_df, break_df = NULL, assign_all = T)
|
snp_df |
dataframe of snp coordinates, must contain columns named 'chr' and 'pos'. |
break_df |
dataframe of LD blocks, if 'NULL', use precomputed (EUR) ldshrink LD blocks, must contain columns named 'chr' 'start', 'stop', and 'region_id' |
assign_all |
whether to throw an error if a SNP cannot be assigned to a block, or to assign it to block 'NA' |
modified 'snp_df' dataframe with additional column 'region_id' mapping snp to LD block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.