Skip to content

FeatureRequest: FeatureSet Class for Abstracting Feature columns #360

@kenibrewer

Description

@kenibrewer

Feature type

  • Add new functionality

  • Change existing functionality

General description of the proposed functionality

As a step towards supporting a greater collection of imaging feature sets, we should implement abstractions around image feature columns. This will feed into #327 for creating object-oriented patterns for interacting with profile data.

Feature example

Pseudocode:

class FeatureSet:

Attributes:
  list [str]: combined_features
  list [str]: meta_features 
  list [str]: single_cell_features
  list [str]: image_features
  
  def __init__ (list: feature_list, regex: meta_pattern, regex: single_cell_pattern, regex: image_pattern):
    meta_features = regex.find_all(feature_list, meta_pattern)
    single_cell_features = regex.find_all(feature_list, single_cell_pattern)
    image_features = regex.find_all(image_pattern)

Alternative Solutions

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions