Retrieves posterior probabilities from iCluster integration

posterior_probability(
  integrated_object,
  multimodal,
  metadata,
  threshold = 0.9,
  sense_check_variable = NULL
)

Arguments

integrated_object

metadata in multiassay@metadata$integration$iCluster

multimodal

metadata in multiassay@metadata$mulitmodal_object$omics

metadata

metadata in multiassay@metadata$mulitmodal_object$metadata

threshold

Absolute threshold to filter weights

sense_check_variable

default to NULL. High weights should coincide with stronger correlation if the sense_check_variable is an important driver of variation in the designated factor. Will be used to generate a plot if set to a covariate.

Value

List with positive and negative weights above and below the specified threshold, distirbution plots of the weights, and dataframes of the weights for each omic layer.