export_annotconfig

besca.tl.sig.export_annotconfig(sigconfig, levsk, resultsFolder, analysisName='')[source]

Export the configuration defined in sigconfig and levsk Order might changed compared to the original sig. config file. But numerical order within a same category (same parents) should be respected.

Parameters:
  • sigconfig (panda.DataFrame) – a dataframe with the config details

  • levsk (list of str) – String of distinct levels based on configuration file

  • resultsFolder ('str') – results folder. where the annotation will also be stored

  • analysisName ('str') – will prefix the saved config file