Shians / NanoMethViz

Apache License 2.0
21 stars 2 forks source link

`cluster_region()` fails on poorly covered regions #16

Open Shians opened 2 years ago

Shians commented 2 years ago

Since cluster_region() interpolates data to obtain methylation measurements at fixed points for all features, those with bad coverage will cause an error

Error in approxfun(summaried_methy$pos, summaried_methy$methy_prob, rule = 2) : 
  need at least two non-NA values to interpolate