refAllele {AllelicImbalance} | R Documentation |
Extract the allele based on SNP location from the reference fasta file
refAllele(x, fasta)
x |
|
fasta |
path to fasta file, index should be located in the same folder |
The alleles will be placed in the rowRanges() meta column 'ref'
Jesper R. Gadin, Lasse Folkersen
#load example data data(ASEset.sim) fasta <- system.file('extdata/hg19.chr17.subset.fa', package='AllelicImbalance') a <- refAllele(ASEset.sim,fasta=fasta)