problem with names in plotVar for block.spls when overlap = FALSE and fixing a cutoff

Issue #92 resolved
Former user created an issue

Hi, when you use plotVar with a cutoff and overlap = FALSE, the names displayed are not the right names comparing to the same plot without a cutoff (see attached files and code below (code from the help page of block.spls))

library(mixOmics) data("breast.TCGA") data = list(mrna = breast.TCGA$data.train$mrna, mirna = breast.TCGA$data.train$mirna) design = matrix(1, ncol = length(data), nrow = length(data), dimnames = list(names(data), names(data))) diag(design) = 0 ncomp = c(2)

list.keepX = list(mrna = rep(20, 2), mirna = rep(10,2)) list.keepY = c(rep(10, 2))

TCGA.block.spls = block.spls(X = data, Y = breast.TCGA$data.train$protein, ncomp = ncomp, keepX = list.keepX, keepY = list.keepY, design = design)

plotVar(TCGA.block.spls, overlap = FALSE) plotVar(TCGA.block.spls, overlap = FALSE, cutoff = 0.5)

Comments (2)

  1. Log in to comment