This function will combine two or more modalities dimensionality reductions into a single reduction.

  ArchRProj = NULL,
  name = "CombinedDims",
  reducedDims = NULL,
  dimWeights = NULL,
  dimsToUse = NULL,
  scaleDims = NULL,
  corCutOff = 0.75



An ArchRProject object.


The name for the combinedDims to be stored as.


The name of the reducedDims objects (i.e. "IterativeLSI") to use from the designated ArchRProject.


A vector of weights to be used to weight each dimensionality reduction when combining.


A vector containing the dimensions from the reducedDims objects to use.


A boolean value that indicates whether to z-score the reduced dimensions for each cell. This is useful for minimizing the contribution of strong biases (dominating early PCs) and lowly abundant populations. However, this may lead to stronger sample-specific biases since it is over-weighting latent PCs. If set to NULL this will scale the dimensions based on the value of scaleDims when the reducedDims were originally created during dimensionality reduction. This idea was introduced by Timothy Stuart.


A numeric cutoff for the correlation of each dimension to the sequencing depth. If the dimension has a correlation to sequencing depth that is greater than the corCutOff, it will be excluded from analysis.