Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/splnr_featureRep.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ splnr_get_featureRep <- function(soln, pDat, targets = NA,
) %>%
dplyr::ungroup() %>%
dplyr::mutate(relative_held = .data$absolute_held / .data$total_amount) %>% # Calculate proportion
dplyr::select(-"total_amount", -"absolute_held") %>% # Remove extra columns
# dplyr::select(-"total_amount", -"absolute_held") %>% # Remove extra columns
dplyr::left_join(targets, by = "feature") #%>% # Add targets to df
# dplyr::select(-"type")

Expand Down
Loading