Description Usage Arguments Value Author(s) Examples
This function updates a vector of genes annotated with ANNOVAR, and keep only the ones inside or near the respective annotated gene. Also, it removes the parentheses with distance and other information.
1 | update_dist_genes(genes, thres = 10000, rm_gene_info = TRUE)
|
genes |
Character vector. A vector of genes annotated with ANNOVAR. |
thres |
Integer. A single integer to set the maximum allowed distance (bp) from the annotated gene to keep it or not. Default set to 10kb. |
rm_gene_info |
Logical. If TRUE (default), gene info within parantheses will be removed. |
Vector of genes within or near the annotated gene.
CainĂ£ Max Couto-Silva
1 2 3 4 5 | ## Not run:
update_dist_genes(genes)
dt[, GENE := update_dist_genes(GENE)]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.