8000 Allow Study (QTL), Site (KRI) and custom groupings by jwildfire · Pull Request #581 · Gilead-BioStats/gsm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow Study (QTL), Site (KRI) and custom groupings #581

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 1 commit into from
Jul 13, 2022

Conversation

jwildfire
Copy link
Contributor

Overview

Rough sketch of how we might allow Study/Site/Custom Groupings for the AE Assessment for @mattroumaya to implement and merge in to fix-460

cc: @gwu05 and @samussiah for comments if desired.

Test Notes/Sample Code

Untested 😱

@jwildfire jwildfire requested a review from mattroumaya July 12, 2022 20:52
@jwildfire jwildfire self-assigned this Jul 12, 2022
@jwildfire jwildfire changed the base branch from dev to fix-460 July 12, 2022 20:52
@@ -105,7 +106,7 @@ AE_Assess <- function(

lAssess$dfTransformed <- gsm::Transform_EventCount(
lAssess$dfInput,
strGroupCol = strGroupCol,
strGroupCol = paste0(strGroupCol,"ID"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Assumption here that the grouping variable will always be suffixed with ID - why not explicitly specify the column name?

GroupID = lMapping[["dfSUBJ"]][["strGroupCol"]],
SiteID = lMapping[["dfSUBJ"]][["strSiteCol"]],
StudyID = lMapping[["dfSUBJ"]][["strStudyCol"]],
CustomGroupID = lMapping[["dfSUBJ"]][["strCustomGroupCol"]],
Copy link
Contributor

Choose a reason for hiding this comment

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

Now I get it - site/study/custom columns are named here.

@mattroumaya mattroumaya merged commit fd7c9de into fix-460 Jul 13, 2022
@mattroumaya mattroumaya deleted the fix-460-jwtweaks branch July 13, 2022 18:39
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
0