al2na / methylKit

R package for DNA methylation analysis
https://bioconductor.org/packages/release/bioc/html/methylKit.html
203 stars 96 forks source link

error in getTargetAnnotationStats #306

Closed Kaustav-93 closed 6 months ago

Kaustav-93 commented 9 months ago

Hi,

This is how my diffAnn df looks like and I am getting this error

head(getAssociationWithTSS(diffAnn)) target.row dist.to.feature feature.name feature.strand 11 1 118 ENSMUST00000192183.1 + 14 2 -94 ENSMUST00000070533.4 - 14.1 3 -99 ENSMUST00000070533.4 - 14.2 4 -489 ENSMUST00000070533.4 - 16 5 -18679 ENSMUST00000194454.1 + 26 6 1200 ENSMUST00000192505.1 - getTargetAnnotationStats(diffAnn,percentage=TRUE,precedence=TRUE)

Error in getTargetAnnotationStats(diffAnn, percentage = TRUE, precedence = TRUE) : unused arguments (diffAnn, percentage = TRUE, precedence = TRUE)

Thanks for you help in advance

mbanuh commented 9 months ago

Hello, Try this: genomation::getTargetAnnotationStats(diffAnn,percentage=TRUE,precedence=TRUE)