import {PhylogenyWrapper} from '@phyloref/phyx/src/wrappers/PhylogenyWrapper.js'PhylogenyWrapper
Static Method Summary
| Static Public Methods | ||
| public static |
getErrorsInNewickString(newick: *): * |
|
| public static |
getParsedNewick(newick: *): {"json": *} |
|
| public static |
normalize(phylogeny: *): * Return a normalized form of the phylogeny. |
|
| public static |
recurseNodes(node: *, func: *, nodeCount: number, parentCount: *): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
phylogeny: * |
|
Method Summary
| Public Methods | ||
| public |
asJSONLD(fallbackIRI: *, newickParser: *): * |
|
| public |
getNodeLabels(nodeType: string): * |
|
| public |
getNodeLabelsMatchedBySpecifier(specifier: *): * |
|
| public |
getNodesAsJSONLD(baseIRI: *, newickParser: *): * |
|
| public |
getParsedNewickWithIRIs(baseIRI: *, newickParser: *): * |
|
| public |
getTaxonomicUnits(nodeType: string): * |
|
| public |
getTaxonomicUnitsForNodeLabel(nodeLabel: *): *[] Return a list of taxonomic units for a node label. |
|
Static Public Methods
public static getErrorsInNewickString(newick: *): * source
Params:
| Name | Type | Attribute | Description |
| newick | * |
Return:
| * |
public static getParsedNewick(newick: *): {"json": *} source
Params:
| Name | Type | Attribute | Description |
| newick | * |
Return:
| {"json": *} |
public static normalize(phylogeny: *): * source
Return a normalized form of the phylogeny.
Params:
| Name | Type | Attribute | Description |
| phylogeny | * |
Return:
| * |
Public Constructors
public constructor() source
Public Methods
public asJSONLD(fallbackIRI: *, newickParser: *): * source
Params:
| Name | Type | Attribute | Description |
| fallbackIRI | * | ||
| newickParser | * |
Return:
| * |
public getNodeLabels(nodeType: string): * source
Params:
| Name | Type | Attribute | Description |
| nodeType | string |
|
Return:
| * |
public getNodeLabelsMatchedBySpecifier(specifier: *): * source
Params:
| Name | Type | Attribute | Description |
| specifier | * |
Return:
| * |
public getNodesAsJSONLD(baseIRI: *, newickParser: *): * source
Params:
| Name | Type | Attribute | Description |
| baseIRI | * | ||
| newickParser | * |
Return:
| * |
public getParsedNewickWithIRIs(baseIRI: *, newickParser: *): * source
Params:
| Name | Type | Attribute | Description |
| baseIRI | * | ||
| newickParser | * |
|
Return:
| * |
public getTaxonomicUnits(nodeType: string): * source
Params:
| Name | Type | Attribute | Description |
| nodeType | string |
|
Return:
| * |
public getTaxonomicUnitsForNodeLabel(nodeLabel: *): *[] source
Return a list of taxonomic units for a node label.
If the additionalNodeProperties for this node label includes taxonomic units
(using representsTaxonomicUnits = obo:CDAO_0000187), then those taxonomic
units are used. Otherwise, one will be constructed using the default
nomenclatural code set up when this PhylogenyWrapper was set up.
Params:
| Name | Type | Attribute | Description |
| nodeLabel | * |
Return:
| *[] |
