TreeNode.
read
(file, format=None, **kwargs)[source]¶Create a new TreeNode
instance from a file.
This is a convenience method for skbio.io.registry.read()
. For
more information about the I/O system in scikit-bio, please see
skbio.io
.
Supported file formats include:
'newick'
(skbio.io.format.newick
)Parameters: | file : openable (filepath, URL, filehandle, etc.)
format : str, optional
kwargs : dict, optional
|
---|---|
Returns: | TreeNode
|