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

Fix setup_data() #37

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Fix setup_data() #37

merged 2 commits into from
Jul 1, 2024

Conversation

howardbaik
Copy link
Contributor

I fixed a couple of bugs in setup_data() where I've added inline explanations of the fixes.

@@ -13,7 +13,7 @@
#' dplyr::select(c("Day00_RepA", "Day05_RepA", "Day22_RepA", "Day22_RepB", "Day22_RepC")) %>%
#' as.matrix()
#'
#' gimap_dataset <- setup_data(counts = example_counts_data)
#' gimap_dataset <- setup_data(counts = example_counts)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wrong variable name.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Great catch! Thank you!

@@ -23,7 +23,7 @@ setup_data <- function(counts = NULL,
pg_ids = NULL,
pg_metadata = NULL,
sample_metadata = NULL) {
new_data <- gimap_data <- list(
new_data <- list(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unnecessary assignment

Copy link
Collaborator

@kweav kweav left a comment

Choose a reason for hiding this comment

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

Thanks for these catches and for the inline comments!

Copy link
Collaborator

@cansavvy cansavvy left a comment

Choose a reason for hiding this comment

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

Great! Thanks @howardbaek

@cansavvy cansavvy merged commit c1951c7 into main Jul 1, 2024
6 of 7 checks passed
@cansavvy cansavvy deleted the howard-feedback branch July 1, 2024 17:21
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.

3 participants