Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hillarymarler
Copy link
Collaborator

Added filter to exclude quality control samples from continuous data search. I have not been able to recreate the issue with all NAs in continuous flag column by using examples from previous test failures or random data sets.

Added filter to exclude quality control samples from looking for cont. data
if (length(noncont.data) >= 1) {
info_match <- noncont.data %>%
# remove quality control samples
dplyr::filter(!grepl("Quality Control", ActivityTypeCode)) %>%
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are a few ActivityTypeCode's that do not include "Quality Control" that are also QC samples. Could you reference the internal TADA package WQXActivityTypeRef here instead and keep only the results assigned by TADA as "Non_QC"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes - that is a better, more specific solution. I can make that change.

@hillarymarler
Copy link
Collaborator Author

Updated to filter using TADA.ActivityCode.Flag

@cristinamullin cristinamullin merged commit 53e44d7 into develop Dec 5, 2024
7 checks passed
@cristinamullin cristinamullin deleted the 484-check-found-nas-in-tada_flagcontinuousdatas-tadacontinuousdataflag branch December 5, 2024 19:32
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.

Check found NA's in TADA_FlagContinuousData's TADA.ContinuousData.Flag

3 participants