Commit 8d530cc1 authored by Fintan McGee's avatar Fintan McGee

FIx for bug where moist recent version of R backend dimred library changed...

FIx for bug where moist recent version of R backend dimred library changed format for accessing results
parent 0f8a92af
......@@ -130,7 +130,10 @@ p.plotdata <- function(dim.red.res, labels, processedData, type) {
processedData = processedData,
individualProjections = individualProjections,
variableProjections = p.projections(dim.red.res, column.results = varName),
explainedVariance = dim.red.res$eig$"percentage of variance",
# bug fix change in back end library format means following line causes error
#explainedVariance = dim.red.res$eig$"percentage of variance",
#explainedVariance = as.vector(dim.red.res$eig[,2]),
explainedVariance = dim.red.res$eig[,"percentage of variance"],
method = type
)
......
Markdown is supported
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