| discoODAexclusionMatrix | R Documentation |
A small matrix indicating which algorithms should be excluded given certain experimental designs and data types.
discoODAexclusionMatrix
An object of class matrix (inherits from array) with 4 rows and 7 columns.
# Code used to generate discoODAexclusionMatrix
itemNames <- c(
"missing_value",
"with_bio_replicate",
"non_integer_interval",
"uneven_interval",
"circular_t",
"invalidPeriod",
"invalidJTKperiod"
)
# Creating requirements matrix, first assuming all methods are valid
# Then appying exclusion criteria of MetaCycle plus CS criteria
mat <- matrix(TRUE, nrow = 4, ncol = length(itemNames))
rownames(mat) <- c("CS", "JTK", "LS", "ARS")
colnames(mat) <- itemNames
# Exclusion criteria from MetaCycle v1.1, i.e. can algorithm handle XXX
mat[c("ARS", "JTK"), c("non_integer_interval", "uneven_interval")] <- FALSE
mat["ARS", "with_bio_replicate"] <- FALSE
mat["ARS", "missing_value"] <- FALSE
mat["JTK", "invalidJTKperiod"] <- FALSE
# Additional exclusion criteria
mat["ARS", "circular_t"] <- FALSE
mat[c("CS", "JTK", "ARS", "LS"), "invalidPeriod"] <- FALSE
discoODAexclusionMatrix <- mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.