This is a test version of Biostars. For the public version, visit https://www.biostars.org.
read.fasta() function couldn't found

Hi I'm new to R and today I'm trying to import a fasta file using read.fasta() function from the seqinr library, however, it threw a error message said that "could not find function "read.fasta", I installed seqinr, import the library at the beginning and couldn't see any typo in my code, any help? I'm using R studio.

library(seqinr)

cox1 <-read.fasta(file = "cox1.fasta",  seqtype="AA")
r fasta

Please show the output of sessionInfo()

Can you try seqinr::read.fasta()?

0 answers

No answers yet.

Log in to answer this question.