Hello,
I am currently trying to use the MethylAid package to visualize methylation array data in the form of idat files. My directory of files contains the idat, jpg, locs and xml files. I am trying to follow the tutorial from https://www.bioconductor.org/packages/release/bioc/vignettes/MethylAid/inst/doc/MethylAid.pdf but am having trouble understanding some of the variables. First I load my idat files with
idatFile <- list.files(pattern = "idat", full.name = TRUE)
but when I try the next line
targets <- read.table(idatFile, header = TRUE, sep = "\t")
it gives me an error: Error in file(file, "rt") : invalid 'description' argument
From what I understand, this error is because idatFile is not a single item. I am open to suggestions.
Thanks,
Julian