Skip to content

Commit 6bf31d4

Browse files
committed
uncomment part that was mistakenly commented out
1 parent b9f9652 commit 6bf31d4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

R/CorrelationMethods.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -551,13 +551,13 @@ pairs.DataFrame <- function (x, labels, panel = points, ..., horInd = 1:nc, verI
551551
, yaxp = c(1,10,1)
552552
, labels = samples)
553553

554-
# # Return a correlation matrix
555-
# corr.m <- matrix(1, nr.samples, nr.samples)
556-
# colnames(corr.m) <- samples
557-
# rownames(corr.m) <- samples
558-
# corr.m[lower.tri(corr.m)] <- corr.v
559-
# corr.m[upper.tri(corr.m)] <- t(corr.m)[upper.tri(corr.m)]
560-
# corr.m
554+
# Return a correlation matrix
555+
corr.m <- matrix(1, nr.samples, nr.samples)
556+
colnames(corr.m) <- samples
557+
rownames(corr.m) <- samples
558+
corr.m[lower.tri(corr.m)] <- corr.v
559+
corr.m[upper.tri(corr.m)] <- t(corr.m)[upper.tri(corr.m)]
560+
corr.m
561561
}
562562

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

0 commit comments

Comments
 (0)