Skip to content

Commit

Permalink
remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Aug 4, 2024
1 parent 92d332f commit cdcfda7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/layout-heatmap-build.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,13 @@ heatmap_build <- function(heatmap) {
.subset2(user_xscales, i),
.subset2(default_xscales, i)
)
# we copy the `expand` from user input into the default for usage of
# annotation scales
default_xscales[[i]]$expand <- .subset2(user_xscales, i)$expand
}

for (i in seq_along(default_yscales)) {
user_yscales[[i]] <- melt_scale(
.subset2(user_yscales, i),
.subset2(default_yscales, i)
)
# we copy the expand from user input
# into the default for usage of annotation
default_yscales[[i]]$expand <- .subset2(user_yscales, i)$expand
}

# then we add facet -----------------------------------
Expand Down

0 comments on commit cdcfda7

Please sign in to comment.