annotationByFeature-class: An S4 class for overlap of target features with a generic...

Description Slots See Also Examples

Description

This object is desgined to hold statistics and information about genomic feature overlaps it extends list class.

Slots

members

a matrix showing overlap of target features with annotation genomic features

annotation

a named vector of percentages of overlap between feature and annotation

'

precedence

a named vector of percentages of overlap between feature and annotation

num.annotation

a named vector of numbers of overlap between feature and annotation

num.precedence

a named vector of numbers of overlap between feature and annotation

no.of.OlapFeat

vector

perc.of.OlapFeat

vector

See Also

see annotate.WithFeature.Flank and annotate.WithFeature on how to create this object. see following functions that operates on this object: getMembers, getTargetAnnotationStats, getFeatsWithTargetsStats, plotTargetAnnotation

Examples

1
2
3
4
5
6
data(methylKit)
cpg.obj=read.feature.flank(system.file("extdata", "cpgi.hg18.bed.txt", package = "methylKit"),feature.flank.name=c("CpGi","shores"))

# the following function returns annotationByFeature object
ann=annotate.WithFeature.Flank(methylDiff.obj,cpg.obj$CpGi,cpg.obj$shores,feature.name="CpGi",flank.name="Shores")
ann

fortunatobianconi/methylkit documentation built on May 16, 2019, 1:51 p.m.