I am having trouble with importing kallisto files for DESeq analysis in R. I went to the tutorial website and found this:
files <- file.path(dir, "kallisto_boot", samples$run, "abundance.h5") names(files) <- paste0("sample", 1:6) txi.kallisto <- tximport(files, type = "kallisto", txOut = TRUE) head(txi.kallisto$counts)
I have fifteen .h5 files to import in total. I can't quite figure out how to do it with the R script above.
Is "kallisto_boot" something that I need to make prior to importing the files?
Should I replace "abundance.h5" with the fifteen .h5 files that I need to import?
Thank you very much.