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

Error in if (k <= 0.8 && any(rr > (strwidth("W") * fsize/2))) rr <- rr/max(rr) * #84

Open
jmtorresruiz opened this issue Mar 6, 2021 · 0 comments

Comments

@jmtorresruiz
Copy link

Hi,

I am trying to add the info for an extra trait to my phylogenetic tree by using the dotTree function but I get the ERROR shown below. I have tried to fix it by changing my data (trait) but others ERRORS appeared. Any suggestion?
Thanks in advance!

trait<-as.matrix(read.csv("C:/Torres-Ruiz/JM/Proyectos-Experim/France/2018_Variation_P50/Analyses/Phylogeny/less spp/P50vsAllHmaxRAIN_Phylogeny2.csv",row.names=1))[,2]
trait
Rhododendron hirsutum Rhododendron x intermedium Senecio filaginoides Banksia sphaerocarpa
-3.230 -1.870 -5.000 -3.700
Mulinum spinosum Rhododendron ferrugineum Rosmarinus officinalis
-5.700 -3.010 -9.402
dotTree(myTree,trait)
Error in if (k <= 0.8 && any(rr > (strwidth("W") * fsize/2))) rr <- rr/max(rr) * :
missing value where TRUE/FALSE needed

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