precellar.Assay.to_yaml#

Assay.to_yaml()#

Convert the Assay object to a yaml string.

This method converts the Assay object to a yaml string. If you want to save the Assay object to a yaml file, use the .save() method as it will convert all paths to relative paths so that the files can be moved without breaking the Assay object.

Returns:

The yaml string representation of the Assay object.

Return type:

str

See also

save