Entering edit mode
3.8 years ago
n.tear
▴
80
Running the following code:
dir <- "C:/Users/Natha/Documents/PhD/SalmonQuantsBatch123"
list.files(dir)
list.files(file.path(dir, "quants"))
#if file is located in another location you can do
#dir <- "Z:/appropriatefolder"
#csvfile <- file.path(dir, "sample_table.csv")
coldata <- read.csv("SampleInformation.salmon.csv", row.names=1, stringsAsFactors=FALSE)
coldata
coldata$names <- coldata$run
coldata$files <- file.path(dir, "quants", coldata$run, "quant.sf")
file.exists(coldata$files)
library("tximeta")
se <- tximeta(coldata)
Creates the following error...
Error in parse_con(txt, bigint_as_char) : parse error: premature EOF
(right here) ------^
How can I solve this issue?