Entering edit mode
3.1 years ago
Claire
•
0
Hi everyone
I am new to this. I am trying to run do egdeR after Salmon quantification and using tximport to move from transcript level to gene level. My code is:
names(files) <- paste0("sample", 1:4)
print(names)
file.exists(files)
tr2gene <- read.csv("tx2gene.csv")
txi <- tximport(files, type ="salmon",txIn = TRUE, tx2gene = tr2gene)
I got this error:
Error in tximport(files, type = "salmon", txIn = TRUE, tx2gene = tr2gene) : unused argument (tx2gene = tr2gene)
I tried txOUT = False same error.
I checked tr2gene, it is read correctly and exists. Also checked files:
> [1] "sample1.s_1.stress.quant.sf" "sample2.s_1.stress.quant.sf"
> [3] "sample3.s_1.wildtype.quant.sf" "sample4.s_1.wildtype.quant.sf"
> function (x) .Primitive("names")
> [1] TRUE TRUE TRUE TRUE
Thank you
What version of tximport are you using? What is the output of
sessionInfo()
Thank you
This is a very, very old version of tximport. It probably doesn't work the same way as the manual suggests it does. Try updating to a more recent version.
Ok thanks so much. Will try this out.
Just in case someone comes through this error, upgrading tximport fixed it. Thank you i.sudbery !