Hello everyone! I successfully downloaded the Bioconductor packages sangerseqR and sangeranalyseR, however when I try to use this function: sangerseq(), I get the following error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘sangerseq’ for signature ‘"list"’
I'm stuck.
My R version is 4.1.3 (2022-03-10)
This is the code:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("sangerseqR")
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("sangeranalyseR")
unable to find an inherited method for function ‘sangerseq’ for signature ‘"list"’
This suggests that the LF1 object has the wrong class. From the code you posted, I don't think it's possible: read.abif() is supposed to always return an abif object (or fail with an error message).
I would start by restarting R to clean the memory (in RStudio, press ctrl+shift+F10), then check the result of this: