Skip to content

Commit

Permalink
fixed a but in Cooman's plot
Browse files Browse the repository at this point in the history
  • Loading branch information
svkucheryavski committed Oct 30, 2016
1 parent c151b29 commit 8523d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/simcamres.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ plotCooman.simcamres = function(obj, nc = c(1, 2), type = 'p', main = "Cooman's
attrs = mda.getattr(obj$c.pred)
res1 = obj$pred.res[[nc[1]]]
res2 = obj$pred.res[[nc[2]]]
data = cbind(sqrt(res1$Q[, res1$ncomp.selected]), sqrt(res2$Q[, res2$ncomp.selected]))
data = cbind(res1$Q[, res1$ncomp.selected], res2$Q[, res2$ncomp.selected])
rownames(data) = rownames(obj$c.pred)
data = mda.setattr(data, attrs, 'row')
if (show.limits == T)
Expand Down

0 comments on commit 8523d2b

Please sign in to comment.