Learn R Programming

AllelicImbalance (version 1.10.2)

refAllele: Reference allele

Description

Extract the allele based on SNP location from the reference fasta file

Usage

refAllele(x, fasta)

Arguments

x
ASEset object
fasta
path to fasta file, index should be located in the same folder

Details

The alleles will be placed in the rowRanges() meta column 'ref'

Examples

Run this code

#load example data
data(ASEset.sim)

fasta <- system.file('extdata/hg19.chr17.subset.fa', package='AllelicImbalance')
a <- refAllele(ASEset.sim,fasta=fasta) 

Run the code above in your browser using DataLab