Skip to content

Commit 1ceb353

Browse files
committed
Additional fix to corWithNumTraits
1 parent 7ae153e commit 1ceb353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/main.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1976,7 +1976,7 @@ corWithNumTraits = function(tissue,which.one,covlist,covs=NULL){
19761976
textMatrix = paste(signif(moduleTraitCor, 2), "\n(",
19771977
signif(moduleTraitPvalue, 1), ")", sep = "")
19781978
if(length(covlist) == 1){
1979-
textMatrix = cbind(rep("--",length(textMatrix)))
1979+
textMatrix = cbind(rep("--",length(textMatrix)),textMatrix)
19801980
moduleTraitCor = cbind(rep(0,nrow(moduleTraitCor)),moduleTraitCor)
19811981
covlist = c("Dummy",covlist)
19821982
}else

0 commit comments

Comments
 (0)