View source: R/annotate_snps.R
This function annotates SNPs to genomic annotations (e.g. coding sequence) and tissue-level annotations (e.g. chromatin states). Each SNP is mapped against each set of annotations contained within BED files listed within the genomic annotation file and tissue annotation file. The annotation names listed in the annotation files must be consistent with the annotation names listed within the BED files.
1 2 3 4 5 6 7 | annotate_snps(
snp_file,
tissue_path_file,
tissue_annotation_file,
genomic_path_file,
genomic_annotation_file
)
|
snp_file |
Path to the input SNP file |
tissue_path_file |
Path to the input file of paths to tissue annotation bed files |
tissue_annotation_file |
Path to the input file of tissue annotation names and weights |
genomic_path_file |
Path to the input file of paths to genomic annotation bed files |
genomic_annotation_file |
Path to the input file of genomic annotation names and weights |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.