TreeNode.
write
(file, format='newick', **kwargs)[source]¶Write an instance of TreeNode
to a file.
This is a convenience method for skbio.io.registry.write()
.
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
kwargs : dict, optional
|
---|