Closed Duanzpwt closed 5 years ago
Hi Duanzpwt,
Is it possible to know how the above error got solved ?
I am also experiencing the same error like below:
Error in tximport(files, type = "salmon", tx2gene = tx2gene, importer = my_read_tsv, : all(c(abundanceCol, countsCol, lengthCol) %in% names(raw)) is not TRUE
Thanks
I used this line of code to import RSEM ".gene.results" files: txi.rsem <- tximport(files, type = "rsem", txIn = FALSE, txOut = FALSE),and it returns error:"all(c(geneIdCol, abundanceCol, lengthCol) %in% names(raw)) is not TRUE" , then i explicitly define the column names like in the line of code below: txi.rsem <- tximport("ceshi2.tsv", type = "rsem", txIn = FALSE, txOut = FALSE, tx2gene = NULL, countsFromAbundance = "no", varReduce = FALSE, dropInfReps = FALSE, ignoreTxVersion = FALSE, geneIdCol = "gene_id", txIdCol = "transcript_id", abundanceCol = "TPM", countsCol = "expected_count", lengthCol = "effective_length") it returns the same error. my files are just like the picture :