Sorry for the noob question which is probably due to my poor understanding of R... Salmon generates a folder with the sample name for each sample, with inside it, a quant.sf file. Can someone give me a concrete example of how I define the files in the tximport statement. The sample code below from Mike Love doesn't help me, as it seems to have toy names.
files <- file.path(dir, "salmon", samples$run, "quant.sf")
names(files) <- paste0("sample", 1:6)
txi.salmon <- tximport(files, type = "salmon", tx2gene = tx2gene, reader = read_tsv)
Thanks in advance
files <- file.path(dir, "salmon", samples$run, "quant.sf")
names(files) <- paste0("sample", 1:6)
txi.salmon <- tximport(files, type = "salmon", tx2gene = tx2gene, reader = read_tsv)
Thanks in advance
Comment