Description Usage Arguments Examples
Annotation function (mulitple name)
1 | annotation.merge(anno.names, ...)
|
anno.names |
Annotation names, eg. c('avsnp138', 'avsnp147', '1000g2015aug_all') |
... |
Other parameters see |
1 2 3 4 5 6 7 8 9 10 11 | library(data.table)
chr <- c('chr1', 'chr2', 'chr1')
start <- c('10020', '10020', '10020')
end <- c('10020', '10020', '10020')
ref <- c('A', 'A', 'A')
alt <- c('-', '-', '-')
database <- system.file('extdata', 'demo/hg19_avsnp147.txt', package = 'anor')
database.dir <- dirname(database)
dat <- data.table(chr = chr, start = start, end = end, ref = ref, alt = alt)
x <- annotation.merge(dat = dat, anno.names = c('avsnp147'),
database.dir = database.dir, db.type = 'txt')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.