Description Usage Arguments Value See Also Examples
The function annotates given genomic feature or methylKit object with two sets of annotation. It is primarily useful when annotating objects with CpG islands and shores.
1 | annotate.WithFeature.Flank(target,feature,flank,feature.name="feat",flank.name="flank",strand=FALSE)
|
target |
a |
feature |
a |
flank |
a |
feature.name |
string for the name of the feature |
flank.name |
string for the name o |
strand |
If set to TRUE, annotation features and target features will be overlapped based on strand (def:FALSE) |
returns an annotationByFeature
object
getMembers
,
getTargetAnnotationStats
,
getFeatsWithTargetsStats
,
plotTargetAnnotation
1 2 3 4 | data(methylKit)
cpg.obj=read.feature.flank(system.file("extdata", "cpgi.hg18.bed.txt", package = "methylKit"),feature.flank.name=c("CpGi","shores"))
annotate.WithFeature.Flank(methylDiff.obj,cpg.obj$CpGi,cpg.obj$shores,feature.name="CpGi",flank.name="Shores")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.