View source: R/mixedcirc_integrate.R
mixedcirc_getscore | R Documentation |
This functions performs circadian rhythm data integration using canonical correlations.
mixedcirc_getscore(
input = NULL,
type = NULL,
dataset = NULL,
merge = FALSE,
verbose = FALSE
)
input |
A mixedcirc_integration object |
type |
what scores to retrieve (partial, average, loadings, model) |
dataset |
name of the data set to extract the data from |
merge |
If TRUE, the scores or loadings will be merged into a single data frame (default: FALSE). This has no effect if |
verbose |
Enables printing logs |
This method is used to extract scores and loadings from a mixedcirc_integration object
A data frame of values
library(mixedcirc)
data("circa_data")
data_input <- list(a=circa_data$data_matrix[,1:3],b=circa_data$data_matrix[,3:7])
results <- mixedcirc_integrate(data_input,time = circa_data$time,group = circa_data$group,id = circa_data$id)
score_matrix <- mixedcirc_getscore(results,type="average")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.