phylo2vec.save

Contents

phylo2vec.save#

phylo2vec.save(vector_or_matrix: ndarray, filepath: str, delimiter: str = ',') None[source]#

Save a Phylo2Vec vector or matrix to a file.

Parameters:
  • vector_or_matrix (numpy.ndarray) – A vector (ndim == 1) or matrix (ndim == 2) which satisfies Phylo2Vec constraints

  • filepath (str) – Path to the output file

  • delimiter (str, optional) – Delimiter to use for saving the file, by default “,”