Description Usage Arguments Value Author(s)
Given a reference tidy table with the columns "SNP", "GENE", "DIST", and "FUNCTION", this function merges it with the dataset by SNP (so each SNP must be unique), and then concatenate the genes and their respective function by comma to set unique records.
1 | annotate_fromtbl(snp, ref, thres = 10000, include_function = T)
|
snp |
vector. A vector with SNP names to match the ref[["SNP"]] column. |
thres |
Integer. A single integer to set the maximum allowed distance (bp) from the annotated gene. Default set to 10kb. |
vector of genes or list with two vectors (genes and functions)
CainĂ£ Max Couto-Silva
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.