I am using DeSeq2 for differential expression analysis. I have treated (3 replicates) and untreated (3 replicates). I have used htseq-count for read count. For DEG I am following below link.
But I am facing some error. Below is the error.
df_count_matrix <- data.frame(file_name = dd) %>% + mutate(file_cont = map(file_name,fread,data.table = F)) %>% + unnest() %>% + mutate(file_name = gsub(pattern=pattern,replacement="",file_name)) %>% + spread(key = file_name , value = V2) Error in .f(.x[[i]], ...) : input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r
Kindly suggest me how to correct the error and how should I design treated vs untreated.
Many thanks in advance.