add_label | R Documentation |
Add a column of SNP labels to input data.frame
add_label(merged, snp)
merged |
(data.frame) Input data.frame, which is a result by merging two association studies. See the example under 'get_lead_snp()' for generation of such data.frame. |
snp |
(character vector) A vector of SNP rsIDs. If only labeling one SNP, this can also be a single string. |
# The data.frame merged comes from the example for `get_lead_snp()`. merged = add_label(merged, 'rs9349379')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.