dandelion.utilities.Dandelion

class dandelion.utilities.Dandelion(data=None, metadata=None, germline=None, distance=None, edges=None, layout=None, graph=None, initialize=True, **kwargs)[source]

Dandelion class object.

Main class object storing input/ouput slots for all functions.

__init__(data=None, metadata=None, germline=None, distance=None, edges=None, layout=None, graph=None, initialize=True, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([data, metadata, germline, …])

Initialize self.

copy()

Performs a deep copy of all slots in Dandelion class.

update_germline([corrected, germline, org])

Update germline reference with corrected sequences and store in Dandelion object.

write_h5([filename, complib, compression, …])

Writes a Dandelion class to .h5 format.

write_pkl([filename])

Writes a Dandelion class to .pkl format.