I am using Fedora35 to study expression level analysis.
I want to load the following file (Sample2condition.txt) with tximport.
So, I executed the command in the directory where the data file is located, using the following procedure.
$ s2c <- read.table("sample2condition.txt", header=T, sep="\t", stringsAsFactors=F)
$ s2c$group <- gsub(" ", "_", s2c$group)
$ bfiles <- s2c$path
$ names(files) <- s2c$sample
$ txi <- tximport(files, type="rsem", txIn=F, txOut=F)
However, I get an error message saying "all(file.exists(files)) is not TRUE" and cannot proceed.
What is the problem?
Thank you for your answer.
I have tried the method you taught me.
The error does not go away even though the necessary files are in the working directory as shown above.