Skip to content

Commit

Permalink
Merge pull request #24 from uclahs-cds/danknight-disable-genes-on-nodes
Browse files Browse the repository at this point in the history
Disable genes on nodes mode
  • Loading branch information
dan-knight authored Jun 25, 2022
2 parents a68193a + dab6ff8 commit ea9ad35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ REMOVED
* Removed unused sig.curve parameter
* Disconnected pie node functionality
* Removed y.axis.position parameter
* Disabled genes.on.nodes mode


--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion R/SRCGrob.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ SRCGrob <- function(
sig.shape = 3,
label.nodes = TRUE,
disable.polygons = FALSE,
genes.on.nodes = FALSE,
length.from.node.edge = TRUE,
size.units = 'npc'
) {

add.genes <- !is.null(genes);
add.polygons <- !is.null(tree$CP) && !disable.polygons;
genes.on.nodes <- FALSE;

yaxis.position <- if (is.null(yaxis2.label)) 'left' else {
if (!is.null(yaxis1.label)) 'both' else 'right';
Expand Down

0 comments on commit ea9ad35

Please sign in to comment.