Question: error in density plot - methylation EPIC data
1
gravatar for junehicks0
11 days ago by
junehicks010
junehicks010 wrote:

I am creating densityplot for methylation EPIC data using minfi package in R

Below is my code for plotting density plot

rgsetAll <- read.metharray.exp(targets = Targets, force=TRUE)
densityPlot(preprocessRaw(rgsetAll), main = "Methylation")

However i'm getting this error:

Error in density.default(newX[, i], ...) : 
  need at least 2 points to select a bandwidth automatically
Calls: densityPlot -> apply -> FUN -> FUN -> density.default

I checked beta values and there is a lot of missing values (NA) for couple of samples. Could missing values be causing error?

Did anyone face this problem while dealing with methylation array data.

Any help is appreciated

bioconductor R • 57 views
ADD COMMENTlink modified 11 days ago by zx87546.8k • written 11 days ago by junehicks010
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1206 users visited in the last hour