from_sesame

pylluminator.samples.from_sesame(datadir: str | PathLike | MultiplexedPath, annotation: Annotations, no_suffix=False) Samples | None

Reads all .csv files in the directory provided, supposing they are SigDF from SeSAMe saved as csv files.

Parameters:
  • datadir (str | os.PathLike | MultiplexedPath) – directory where sesame files are, or path to a .csv file

  • annotation (Annotations) – Annotations object with genome version and array type corresponding to the data stored

  • no_suffix (bool) – set to True if the probe ids from sesame don’t have a suffix (i.e. they look like ‘cg00000155’ and not ‘cg00000155_BC21’). Default: False

Returns:

a Samples object

Return type:

Samples | None