Skip to content

Commit

Permalink
uncomment part that was mistakenly commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
ferenckata committed Oct 2, 2024
1 parent b9f9652 commit 6bf31d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions R/CorrelationMethods.R
Original file line number Diff line number Diff line change
Expand Up @@ -551,13 +551,13 @@ pairs.DataFrame <- function (x, labels, panel = points, ..., horInd = 1:nc, verI
, yaxp = c(1,10,1)
, labels = samples)

# # Return a correlation matrix
# corr.m <- matrix(1, nr.samples, nr.samples)
# colnames(corr.m) <- samples
# rownames(corr.m) <- samples
# corr.m[lower.tri(corr.m)] <- corr.v
# corr.m[upper.tri(corr.m)] <- t(corr.m)[upper.tri(corr.m)]
# corr.m
# Return a correlation matrix
corr.m <- matrix(1, nr.samples, nr.samples)
colnames(corr.m) <- samples
rownames(corr.m) <- samples
corr.m[lower.tri(corr.m)] <- corr.v
corr.m[upper.tri(corr.m)] <- t(corr.m)[upper.tri(corr.m)]
corr.m
}

# Vanja's version of smooth scatter that allows passing range.x argument to grDevices:::.smoothScatterCalcDensity function to calculate 2D kernel smoothed density
Expand Down

0 comments on commit 6bf31d4

Please sign in to comment.