flowsom.tl.get_features

Contents

flowsom.tl.get_features#

flowsom.tl.get_features(fsom, files, level=array(['clusters', 'metaclusters'], dtype='<U12'), type=array(['counts'], dtype='<U6'), MFI=None, positive_cutoffs=None, filenames=None)#

Map FCS files on an existing FlowSOM object.

Parameters:
  • fsom (FlowSOM) – A FlowSOM object

  • files (list) – A list of FCS files

  • level (np.array) – The level(s) to get features for. Should be ‘metaclusters’ and/or ‘clusters’

  • type (np.array) – The type(s) of features to get. Should be ‘counts’, ‘percentages’, ‘MFIs’ and/or ‘percentages_positive’

  • MFI (np.array) – A array of markers to get MFIs for

  • positive_cutoffs (dict) – A dictionary with channels/markers as keys and cutoffs as values

  • filenames (default: None) – A list of file names