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

Adding tests #76

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Adding tests #76

wants to merge 5 commits into from

Conversation

cansavvy
Copy link
Collaborator

@cansavvy cansavvy commented Dec 19, 2024

Description

This is a start. But we need more tests and probably some more sophisticated ones. But I just wanted there to be some kind of tests in the meantime that would alert us to if changes in the code end up changing the results.

Related to #19

Also here is the calculations and comparisons of positive and negative control medians after normalization.

For both original calculations and new calculations, currently negative control medians are 0 as expected but positive control medians are hovering around -0.4 which is not what we expected. So discussing whether we should switch the calculations

old_lfc_results <- d.lfc_annot_adj %>% select(pgRNA_id, rep = rep.x, paralog_pair, lfc_adj2, target_type:gene2_essential_flag)
```

### Negative and positive control medians
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's where the medians are calculated

@cansavvy
Copy link
Collaborator Author

Overall readability score: 44.7 (🟢 +0)

File Readability
README.md 60.01 (🟢 +0)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
README.md 60.01 50.26 10.77 13.4 11.66 6.41
  🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0

Averages:

  Readability FRE GF ARI CLI DCRS
Average 44.7 34.4 11.9 14.2 14.21 8.28
  🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

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.

1 participant