%META:TOPICINFO{author="ProjectContributor" format="1.1" version="$Rev$"}%

NEXUSTREES{"Topic"} -- display phylogeny

* NEXUSTREES macro is used to view the tree block of a nexus file. It contains two panel. The left panel display PhyloWidget applet. The right panel contains a clickable tree list. In order for PhyloWidget to render the tree, click on the tree name. * Syntax:
%NEXUSTREES{"Web.Topic"
attachment="example.nex"
header="<h3>Tree List</h3>$n"
format="   * $treeid $treeName"
footer="<h3>End</h3>"
separator="$n"
}%
* Supported parameters:
Parameter: Description: Default:
"Web.Topic" Topic name whose content is either in nexus format or has an nexus file attachment. -
attachment="example.nex" A nexus formatted file attachment. -
header="<h3>Tree List</h3>$n" String that will decorate the value of format parameter. -
format="   * $treeid $treeName" This string is repeated according to the number of trees in the nexus file. $treeid & $treeName are replace with serial number and tree name. -
footer="<h3>End</h3>" String that will decorate the value of format parameter. -
separator="$n" This value is used to separate format parameter values. It can contain Foswiki recognised parameters. -
* Examples 1:
%NEXUSTREES{"%SYSTEMWEB%/PhyloWidgetExample"
    attachment="Tree.nex"
    header="<h3>Tree List</h3>$n"
    format="   * <a href='%SCRIPTURL{"rest"}%/PhyloWidgetPlugin/getNHX?web=System;topic=System.PhyloWidgetExample;attachment=Tree.nex;tree=$treeid'>$treeName</a>"
    footer="<h3>***********</h3>"
    separator="$n"
    }%

Topic revision: r13 - 24 Jun 2011, TemiVarghese - This page was cached on 18 Oct 2018 - 15:25.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy