refAllele: Reference allele

Description Usage Arguments Details Author(s) Examples

Description

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

Usage

1
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'

Author(s)

Jesper R. Gadin, Lasse Folkersen

Examples

1
2
3
4
5
#load example data
data(ASEset.sim)

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

AllelicImbalance documentation built on Nov. 8, 2020, 6:52 p.m.