Thank you very much for your valuable time. I am encountering difficulties in obtaining the DGEList and would greatly appreciate your assistance. It appears that the function fails to complete due to insufficient memory. Upon executing the relevant steps, an error message informs me that my session was terminated due to a shortage of RAM. Despite having upgraded to Google Colab Pro with a 25.5 GB RAM capacity, this issue persists. For your information, I am currently using R 4.2.3 and Bioconductor version 3.16.
I am referring to the edgeR manual to obtain differential methylation in my research work, with my two .cov files each sized at 197 Mb and 394 Mb, respectively. I would be most grateful if you could kindly advise me on how to resolve this memory issue. Thank you in advance for your kind attention to this matter.
I am following the below steps to get the DGEList.
library(edgeR)
library(limma)
library(readr)
targets <- read.table("targets.txt", header=TRUE, stringsAsFactors=FALSE, fill=TRUE)
s1 <- read.delim(file = "17-read_1_bismark_bt2.bismark.cov.gz", header = FALSE, nrows = 6)
files <- targets$File
yall <- readBismark2DGE(files, sample.names=NULL, readr=TRUE, verbose=TRUE)
yall <- readBismark2DGE(files, sample.names=targets$Sample)