Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with MuSSE csv file #30

Open
LiliyaSerbina opened this issue Apr 19, 2021 · 0 comments
Open

Help with MuSSE csv file #30

LiliyaSerbina opened this issue Apr 19, 2021 · 0 comments

Comments

@LiliyaSerbina
Copy link

LiliyaSerbina commented Apr 19, 2021

Hi everyone!

I am struggling with a constant problem with a csv extension while preparing data for MuSSE model analysis: have tried to do a bunch of stuff to fix a problem but no success - always the same thing ("All names must be length 1"). I would very grateful for your help! :)

library(diversitree)
dat="MuSSE_hosts.csv"
dat<- read.table("MuSSE_hosts.csv", header=TRUE, dec=".", sep=",", row.names=1)
mat <- dat[,2:ncol(dat)]
lik.0 <- make.musse.multitrait(tree, mat, depth=0)
Error in check.states.musse.multitrait(tree, states, strict = strict, :
All names must be length 1

@LiliyaSerbina LiliyaSerbina changed the title Help with MuSSE cvs file Help with MuSSE csv file Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant