-
Notifications
You must be signed in to change notification settings - Fork 54
devel stuff: notes for test update (bladen)
Max Bladen edited this page Dec 6, 2022
·
33 revisions
-
basic
- just tests the simplest use case works for ALL possible input objects
-
data
- similar to basic, but uses different input datasets
-
parameter
- tests the functionality of a specific parameter (or set of parameters)
-
edge.case
- tests for warnings or odd scenarios
-
error
- tests that a specific error is raised in the appropriate scenario
-
auroc
- mint.block.(s)plsda needs test cases once
auroc()
can be used these object types. A node has been made in the project to address this.
- mint.block.(s)plsda needs test cases once
-
background_predict
- mint.(s)plsda needs test cases once
background.predict()
can be used these object types. A node has been made in the project to address this.
- mint.(s)plsda needs test cases once
-
cim
- need to clean this guy up. cant test for
ddr
andddc
components as part of the new GT generation system
- need to clean this guy up. cant test for
circosPlot
diablo
network
pca
perf.diablo
perf.mint.splsda
plotIndiv
-
plotLoadings
- once PR #212 is merged, then come back here and add test cases for the
mint.(s)pls
functions,block
parameter and the errors forstudy
parameter
- once PR #212 is merged, then come back here and add test cases for the
-
plotVar
- uncomment all basic
block
test cases, unknown source of error
- uncomment all basic
-
predict
- uncomment basic
mint.spls
and parametermultilevel
test cases, unknown source of error
- uncomment basic
-
tune.block.splsda
-
validation = "loo"
raising weird error. Noted on the project workflow. Uncomment associated test when bug is resolved -
dist = c("centroids.dist", "mahalanobis.dist")
raising weird error. Noted on the project workflow. Update thedist
test to include both distances once resolved - in BPPARAM test, warnings are not suppressed for some reason - something to do with
bplapply()
-
tune.mint.splsda
-
internals-.get-pch
- doesn't use any mixOmics datasets
- explore different parameters and error states
-
internals
- tests
.get.ind.colors
,.are.colors
,.get.colors
,.get.character.vector
,.check_test.keepX
and.check_ncomp
- see if there are more internals to test, explore different datasets with these tests
- tests
-
tune.spls
- NOTE CHANGES IN PR FOR ISSUE #214, LEAVE THIS FOR NOW- one test, one dataset, with/without parallel
- needs work
-
tune.splsda
- one test, one dataset
biplot
block.(s)pls
block.(s)plsda
cimDiablo
-
ipca
- just realised that I havent included this as a basic type for most plotting functions (eg.
plotLoadings()
,plotVar()
) - go back and add these
- just realised that I havent included this as a basic type for most plotting functions (eg.
mint.block.(s)pls
mint.block.(s)plsda
mint.pca
mint.(s)pls
mint.(s)plsda
network
nipals
- all
perf
variants - all
plot
variants - all
plot.tune
variants plotMarkers
(s)pls
(s)plsda
rcc
selectVar
sipca
spca
- all
tune
variants (pca, rcc, spca, splslevel) wrapper.rgcca
wrapper.sgcca
explained_variance
get.confusion_matrix
impute.nipals
logratio-transformations
map
nearZeroVar
study_split
unmap
vip
withinVariation