mixedcirc_getscore: Retrieved scores from mixedcirc_integration

View source: R/mixedcirc_integrate.R

mixedcirc_getscoreR Documentation

Retrieved scores from mixedcirc_integration

Description

This functions performs circadian rhythm data integration using canonical correlations.

Usage

mixedcirc_getscore(
  input = NULL,
  type = NULL,
  dataset = NULL,
  merge = FALSE,
  verbose = FALSE
)

Arguments

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 type is average!

verbose

Enables printing logs

Details

This method is used to extract scores and loadings from a mixedcirc_integration object

Value

A data frame of values

Examples

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")

PayamEmami/mixedcirc documentation built on Jan. 15, 2025, 5:36 p.m.