Description Usage Arguments Value See Also Examples
The function annotates given genomic feature or methylKit object with a set of annotation. It is primarily useful when annotating objects with simple genomic features, such as enhancer locations.
1 | annotate.WithFeature(target,feature,strand=FALSE,extend=0,feature.name="feat1")
|
target |
a |
feature |
a |
strand |
If set to TRUE, annotation features and target features will be overlapped based on strand (def:FALSE) |
extend |
specifiying a positive value will extend
the feature on both sides as much as |
feature.name |
name of the annotation feature. For example: H3K4me1,CpGisland etc. |
returns an annotationByFeature
object
getMembers
,
getTargetAnnotationStats
,
getFeatsWithTargetsStats
,
plotTargetAnnotation
1 2 3 4 | data(methylKit)
cpg.gr=read.bed(system.file("extdata", "cpgi.hg18.bed.txt", package = "methylKit"),remove.unsual=TRUE)
annotate.WithFeature(methylDiff.obj,cpg.gr,strand=FALSE,extend=0,feature.name="CpGi")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.