Skip to content
Snippets Groups Projects
Commit 98354470 authored by Vincent  LAVILLE's avatar Vincent LAVILLE
Browse files

Update correlationMatrix.R

parent 2fd99cb0
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ getGenoCorMatrix <- function(lrsid, lchr, lpos, lrefall, pop, path = NULL, web =
}
testMat <- changeCoding(testMat, as.character(lrefall) == genoMap$REF)
colnames(testMat) <- lind
cormat = stats::cor(t(testMat))
cormat = stats::cor(t(testMat), use = "complete.obs")
if (pruning) {
return(pruneCorMatrix(cormat, rthresh))
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment