Starting an analysis

73 views
Skip to first unread message

Felipe Pereira da Rocha

unread,
Oct 3, 2024, 7:54:15 AM10/3/24
to BioGeoBEARS
Dear all,

I appreciate any support and I am sorry for posting very basic questions in the group!

Yesterday, I tried to start my analysis on BioGeoBEARS following the basic example given by Nick on the PhiloWiki website. However, I ran into problems already with the files I tried to import. I'm not sure what is wrong with them because they imported fine into R, but then won't work after that.

The plagiolepidini_tree.nwk is a dated, ultrametric, binary, rooted phylogeny that I pruned from a bigger tree.
The yca_asia.txt is a phylip-formatted file that I wrote on BBEdit following the instructions. This example has a space between the number of species and the number of areas, but I also tried it with a tab between them.

Both will give the following error when I try the command moref() in R:
Error in scan(file = fn, what = "character", sep = "\n") :
  'file' must be a character string or connection

Further, is there any complementary material that explains what the different functions in R do? Their names are quite descriptive already, but I wonder if there's another place where I can explore how I work with all this material outside of the example (e.g., how to change parameters, etc).

Thank you so much!!!
Best regards,
Felipe

plagiolepidini_tree.nwk
yca_asia.txt

Felipe Pereira da Rocha

unread,
Jan 23, 2025, 8:30:58 PMJan 23
to BioGeoBEARS
Hello everyone, 

Can anyone help me with this, please?

Reply all
Reply to author
Forward
0 new messages