This is a test version of Biostars. For the public version, visit https://www.biostars.org.
error in tximport command

when I am typing command : txi <- tximport(samples, type = "stringtie", tx2gene = tx2gene)

I am getting this error:

Error in match.arg(type, c("none", "kallisto", "salmon", "sailfish", "rsem")) : 
  'arg' should be one of “none”, “kallisto”, “salmon”, “sailfish”, “rsem”

I am using t_data.ctab files from STRINGTIE output.

Please help

tximport

1 answer

You are probably using an old version that did not yet support stringtie import. I suggest you update tximport and try again. stringtie support was added with version 1.8.0, see https://bioconductor.org/packages/release/bioc/news/tximport/NEWS

Yes, you were right, thank you!

Log in to answer this question.