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

Update correlationMatrix.R

parent 98354470
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,7 @@ getGenoCorMatrix <- function(lrsid, lchr, lpos, lrefall, pop, path = NULL, web =
lind <- lind[lind$Paternal.ID == 0 & lind$Maternal.ID == 0, 2]
testMat <- getAdditivelyCodedMatrix(genoMat,lind)
testMat <- testMat[-which(apply(testMat, 1, sd) == 0, ]
to_remove <- NULL
for (i in 1:nrow(testMat)) {
if (!(rownames(testMat)[i] %in% lrsid)) {
......
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