addGenomeData-gapSites: Add MaxEnt-scores, Exon-Intron junction sequences score to...

Description Arguments Details Value Author(s) Examples

Description

The function takes an gapSites object, adds annotation data, MaxEnt-scores, Exon-Intron sequences to featureData slot.

Arguments

object

gapSites object

dna

DNAStringSet containing genomic sequence.

junc

refJunctions

Details

The function adds new columns to featureData as described in varMetadata.

Value

gapSites

Author(s)

Wolfgang Kaisers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# A) Read gapSites
bam <- system.file("extdata", "rna_fem.bam", package="spliceSites")
reader <- bamReader(bam, idx=TRUE)
ga <- alignGapList(reader)
bamClose(reader)

# B) Load DNA
dnafile <- system.file("extdata", "dna_small.RData", package="spliceSites")
load(dnafile)

# C) maxEnt
mes<-load.maxEnt()
gae<-addMaxEnt(ga,dna_small,mes)
getMeStrand(gae)
sae<-setMeStrand(gae)

# D) Load annotation data
ucf <- system.file("extdata", "uc_small_junc.RData", package="spliceSites")
juc <- loadGenome(ucf)

esg <- addGenomeData(ga, dna_small, juc)

spliceSites documentation built on May 6, 2019, 3:05 a.m.