I am currently working on analyzing DNA methylation data that I obtained from the EPIC array V2. I am using the detectionP function (I presume this function is from minfi package) to calculate the detection p-values.
Here's a snippet of my code:
> # calculate the detection p-values
> detP <- detectionP(RGset)
Warning messages:
1: useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.
2: useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.
3: useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.
4: useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.
When I run this code, I get the following warning as mentioned above:
Could you please guide me on how to correct this issue? Is it an issue within the package's warning system or is there something that I need to modify in my code?
Any guidance or help would be appreciated