You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gimap_dataset$filtered_data$removed_pg_ids<- cbind(gimap_dataset$metadata$pg_ids[combined_filter,], one_filter_df[combined_filter,]) %>% #add the IDs as a column together with the TRUEs and FALSEs for each filter, focusing only on pgRNAs which are in some way flagged for removal
pivot_longer(starts_with("filter_"), #pivot longer so that IDs are repeated and filter names are listed in a column and the last column (`boolVals`) are TRUEs and FALSEs
names_to="filter_name",
values_to="bool_vals") %>%
filter(bool_vals==TRUE) %>% #drop rows where boolVals is false, so this leaves only filters that flagged a pgRNA for removal
select(id, filter_name) %>% #drop the boolVals column because don't need it anymore
group_by(id) %>% #group by the pgRNA constructs
summarize(relevantFilters= toString(filter_name)) #and make a column that comma separates the relevant filters
The text was updated successfully, but these errors were encountered:
howardbaik
changed the title
Bug: object 'bool_vals' not found
Bug: object bool_vals not found
Jul 8, 2024
Inside of the
test-gimap_filter
branch, I ran these lines from the example forgimap_filter()
:I get this error message:
Error: object 'bool_vals' not found
. The traceback shows me this error occurs here:gimap/R/02-filter.R
Lines 100 to 107 in 85c0e44
The text was updated successfully, but these errors were encountered: