<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br><div><div>On Jul 18, 2008, at 10:13 AM, Steve Kembel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I just updated the phylo4d data structure to eliminate the problem <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">with duplicate node labels causing crashes when creating phylo4d <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">objects with node data. The phylo4d data now rely entirely on the <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">tip.label and node.label slots as opposed to storing duplicates of <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">those names in the row.names. You can create phylo4d objects matching <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">on your data's row.names or a column containing labels with the <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">label.type argument to phylo4d, and you can output the data with the <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">labels as a column:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">library(phylobase)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">example(phylo4d)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">print(obj)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">tdata(obj)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">tdata(obj,label.type="column")</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Further testing appreciated. I think I fixed all the dependent <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">functions that this change broke, except for the NexusToPhylo4D <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">function which I couldn't get working, will wait for Brian's update. <span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'd say go ahead and make any changes on the trunk.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Steve</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Jul 17, 2008, at 7:56 AM, Brian O'Meara wrote:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I was testing nexus parsing again before a course using R here at</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">NESCent, and it now doesn't work (just the tree part, I think). I'm</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">having trouble checking out the code again from r-forge, but once</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">that's working, I'll see what the problem is. I'll fix it on the</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">trunk, unless someone things I should branch it for the change(s).</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Phylobase-devl mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:Phylobase-devl@lists.r-forge.r-project.org">Phylobase-devl@lists.r-forge.r-project.org</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/phylobase-devl">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/phylobase-devl</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">____________________________________________</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">Marguerite A. Butler</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">Department of Zoology</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">University of Hawaii</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; ">2538 McCarthy Mall, Edmondson 259</span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ; font-family: Helvetica; ; font-size: 12px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; ">Honolulu, HI 96822</span></span><br style="; font-family: Helvetica; ; font-size: 12px; "></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; font-family: Helvetica; ; font-family: Helvetica; ; font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">Phone: 808-956-4713</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">Lab: 808-956-5867</span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">FAX: 808-956-9812</span></span></span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; ">Dept: 808-956-8617</span></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><a href="http://www.hawaii.edu/zoology/faculty/butler.html">http://www.hawaii.edu/zoology/faculty/butler.html</a></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-size: 12px; ; font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><span class="Apple-style-span" style="font-family: Lucida Grande; "><a href="http://www2.hawaii.edu/~mbutler">http://www2.hawaii.edu/~mbutler</a></span></span></span></span></span></div><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "></span></span></span></span></span><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "><span class="Apple-style-span" style="font-family: Lucida Grande; font-size: 13px; "><a href="http://www.hawaii.edu/zoology/">http://www.hawaii.edu/zoology/</a></span></span></span></span></span></span></span></div><br class="Apple-interchange-newline"></span> </div><br></div></body></html>