-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix setup_data()
#37
Conversation
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong variable name.
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary assignment
There was a problem hiding this 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!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks @howardbaek
I fixed a couple of bugs in
setup_data()
where I've added inline explanations of the fixes.