Description Usage Arguments Value Examples
View source: R/gene_annotation.R
SNP annotation Annotate the SNP data based on the genome annotation
1 | annotateSNP(snp_input, gene_feature = gene_feature0)
|
snp_input |
A dataframe containing columns of "Chr","Pos","Gene","Ref","Alt" for each SNP |
gene_feature |
A dataframe containing the detailed information of a gene |
A dataframe containing detailed annotation information of each SNP
1 2 3 4 | # Fistly load the gene annotation data and SNP dataset
data('gene_feature0')
data('snp_data')
mutated_gene <- annotateSNP(snp_input = snp_data, gene_feature = gene_feature0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.