Description Usage Arguments Examples
View source: R/HoneyBADGER_allele.R
Maps snps to genes
1 | setGeneFactors(snps, txdb, fill = TRUE, verbose = TRUE)
|
snps |
SNP annotations |
txdb |
TxDb object (ex. TxDb.Hsapiens.UCSC.hg19.knownGene). |
fill |
SNPs mapping to genes not annotated in txdb will be given unique IDs |
verbose |
Verbosity |
1 2 3 4 5 | data(r)
data(cov.sc)
allele.mats <- setAlleleMats(r, cov.sc)
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
geneFactor <- setGeneFactors(allele.mats$snps, TxDb.Hsapiens.UCSC.hg19.knownGene)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.