Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureRequest: FeatureSet Class for Abstracting Feature columns #360

Open
1 of 2 tasks
kenibrewer opened this issue Dec 12, 2023 · 0 comments · May be fixed by #383
Open
1 of 2 tasks

FeatureRequest: FeatureSet Class for Abstracting Feature columns #360

kenibrewer opened this issue Dec 12, 2023 · 0 comments · May be fixed by #383
Labels
enhancement New feature or request

Comments

@kenibrewer
Copy link
Member

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

@kenibrewer kenibrewer added the enhancement New feature or request label Dec 12, 2023
@kenibrewer kenibrewer linked a pull request Mar 25, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant