annotate_susie | R Documentation |
coloc functions need to be able to link summary stats from two different datasets and they do this through snp identifiers. This function takes the output of susie_rss() and adds snp identifiers. It is entirely the user's responsibility to ensure snp identifiers are in the correct order, coloc cannot make any sanity checks.
annotate_susie(res, snp, LD)
res |
output of susie_rss() |
snp |
vector of snp identifiers |
LD |
matrix of LD (r) between snps in snp identifiers. Columns, rows should be named by a string that exists in the vector snp |
Note: this annotation step is not needed if you use runsusie() - this is only required if you use the susieR functions directly
res with column names added to some components
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.