annotateGene | R Documentation |
Annotate a test variant
annotateGene(param, chrom, position, ref, alt)
param |
a list of annotation configuaration (e.g. reference file, gene definition) |
chrom |
a vector of chromosome names |
position |
a vector of chromosome positions |
ref |
a vector of reference alleles |
alt |
a vector of alternative alleles |
annotated results in a data frame structure
makeAnnotationParameter
if (.Platform$endian == "little") {
param <- list(reference = system.file("tabanno/test.fa", package = "seqminer"),
geneFile = system.file("tabanno/test.gene.txt", package = "seqminer"))
param <- makeAnnotationParameter(param)
print(param)
annotateGene(param, c("1", "1"), c(3, 5) , c("A", "C"), c("G", "C"))
} else {
message("Tabix does not work well for big endian for now")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.