Re: [R-sig-phylo] Add terminal branches to tree

2017-06-19 Thread Christoph Heibl
if your tip labels are of the form "Genus_epithet-or-any-other-string" library(megaptera) tax <- data.frame(genus = strip.spec(species), species = species, stringsAsFactors = FALSE) Christoph Heibl An der Weiherleite 3 86633 Neuburg an der Donau 08431-53 96

Re: [R-sig-phylo] problem with phylock package

2014-05-02 Thread Christoph Heibl
Hi Mariana, extract.clades2 hasn't been well tested. I wrote it for a specific dataset two years ago and I don't know if someone else has used it successfully. You can send me your tree off list and I'll see if I can fix it. Alternatively, you can identify the nodes concerned (?nodelabels,

Re: [R-sig-phylo] Does anyone know why the points command might not correctly plot specified colors?

2013-06-24 Thread Christoph Heibl
Hi Tom, you can try ?append2tips from the phyloch package (http://www.christophheibl.de/Rpackages.html). See also ?match to get the order of your habitat labels right. One general example: library(phyloch) data(viperidae) plot.phylo(viperidae, cex = 0.8, label.offset = 0.02) NTips -

Re: [R-sig-phylo] annotating tree

2012-11-08 Thread Christoph Heibl
Dear Ricardo, There was a line missing in the code; it is fixed now in version 1.4-80 of phyloch. Cheers, Christoph On Nov 8, 2012, at 12:58 PM, Ricardo Kriebel wrote: Dear List, I have been annotating a target tree with support values from different analyses using the package phyloch.

Re: [R-sig-phylo] max iteration error in dismo maxent

2012-01-29 Thread Christoph Heibl
Hi Pascal, I cannot give you any specific help on the code you have presented below, but if you are only interested in performing a background similarity test, you could have a look at the phyloclim package, which implements a basic wrapper for MAXENT. library(phyloclim) ?bg.similarity.test

Re: [R-sig-phylo] Plotting bootstrap values from one tree onto the majority rule consensus tree

2011-02-24 Thread Christoph Heibl
Hi Alastair, On Feb 24, 2011, at 12:40 PM, Alastair Potts wrote: Hi all, Me again. I was wondering if anyone had a way to plot the bootstrap values from one tree onto another tree. I have a majority rule consensus tree and a bootstrap tree, both generated by PAUP, but not identical (but

Re: [R-sig-phylo] Inconsistencies with DNAbin object and its affect on functions

2010-04-01 Thread Christoph Heibl
Hi Alastair (and Emmanuel), DNAbin objects can either be lists or matrices. The idea behind lists is to be able to store sequences of different length, like those supported by the FASTA format. What happens here is that 'read.dna' reads your FASTA file into a list because a priori it does

[R-sig-phylo] correlation between discrete and continuous variables?

2009-12-01 Thread Christoph Heibl
A question to the comparative method gurus: I have a phylogeny for a group of plants that repeatedly evolved annuality from perennial ancestors. For each tip in the tree I have characterized the climatic tolerances (e.g. temperature, precipitation, ...) . I would like to assess if there

Re: [R-sig-phylo] ape matrix manipulation

2009-09-28 Thread Christoph Heibl
Christoph Heibl Systematic Botany Ludwig-Maximilians-Universität München Menzinger Str. 67 D-80638 München GERMANY phone: +49-(0)89-17861-251 e-mail:he...@lmu.de http://www.christophheibl.de/ch-home.html SAVE PAPER - THINK BEFORE YOU PRINT On Sep 28, 2009, at 7:43 AM, Gustavo

Re: [R-sig-phylo] how to append multiple gene files

2009-08-06 Thread Christoph Heibl
(?DNAbin in the ape package), so partitions must be aligned before concatenation. Maybe this helps ... Christoph Christoph Heibl Systematic Botany Ludwig-Maximilians-Universität München Menzinger Str. 67 D-80638 München GERMANY phone