itpseq.DataSet.set_references#

DataSet.set_references(ref_mapping=None, exact_mapping=False)[source]#

Sets the Sample references from a mapping

Parameters:
  • ref_mapping (mapping, optional) – Mapping (ex. dictionary) of {‘sample_label’: Replicate or ‘replicate_label’}

  • exact_mapping (bool, optional) – If set to True, will remove the existing references for samples not defined in the mapping