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

Double plot controls on actogram #49

Open
epetersen-sci opened this issue Feb 29, 2024 · 0 comments
Open

Double plot controls on actogram #49

epetersen-sci opened this issue Feb 29, 2024 · 0 comments

Comments

@epetersen-sci
Copy link

I can't seem to find a way to plot a control alongside my mutants unless I do them all on top of one another (which gets way too messy) or I have to make metadata files for each pair separately (which seems like a lot of work).

My dataset has 12 (and growing) phenotypic genotypes and controls. What I would like to do (for example) is plot the activity over time for the control and one of the mutant genotypes on the same plot for two plots total on the same axis. It should then go through and do this for all of the different genotypes.

I have tried:

  1. graphing both separately and adding them together (was hoping to make some kind of loop)
  2. extracting the two genotypes from the curated dataset, combining them back together, and then graphing from there (the datasets did not combine properly for some reason)
  3. duplicating the control data in the metadata file to make matching duplicates for every other genotype, labeling them as the same genotype, and then adding another column in the metadata to differentiate between 'control' and 'experimental' (resulted in errors loading the metadata file)
  4. A plethora of other things using facet_wrap and the like

Any suggestions would be appreciated!

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

No branches or pull requests

1 participant