Skip to content

Commit

Permalink
change imageID to factor
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrunqin committed Aug 7, 2024
1 parent cb247d0 commit 4ec7317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ getImagePheno <- function(x,
bind = TRUE,
expand = FALSE) {
x <- x[!duplicated(x$imageID),]
x <- x %>%
dplyr::mutate(imageID = factor(imageID, levels = unique(imageID)))
# x <- x %>%
# dplyr::filter(
# if (!is.null(!!imageID)) imageID == !!imageID else TRUE
Expand Down

0 comments on commit 4ec7317

Please sign in to comment.