Skip to content

[ENH] dictyExpress: Time as ContinuousVariable #343

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

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

lenatr99
Copy link
Member

Issue

When trying to use dictyExpress as a data source to compare the new data with published data, there is an error. The problem seems to be that the Time column is a String Variable and therefore its PCA cannot be applied to newer data. Editing the domain (so that Time is numeric variable) doesn't seem to fix the issue. Here is a screenshot of the problem.

screenshot1

Description of changes

I propose changing the code so that Time is set as a ContinuousVariable. I also fixed the bug that prevented the dictyExpress from loading (if isinstance(type(row[label[0]]["value"]), list): --> if isinstance(row[label[0]]["value"], list):).

Includes
  • Code changes
  • Tests
  • Documentation

@JakaKokosar JakaKokosar changed the title dictyExpress: Time as ContinuousVariable [FIX] dictyExpress: Time as ContinuousVariable Aug 28, 2023
@JakaKokosar JakaKokosar merged commit b53bec8 into biolab:master Aug 28, 2023
@JakaKokosar JakaKokosar changed the title [FIX] dictyExpress: Time as ContinuousVariable [ENH] dictyExpress: Time as ContinuousVariable Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants