Description Usage Arguments Value
Aligns subspaces so that they line up across grouping variable (only implemented for case with 2 categories in grouping.var)
| 1 2 | AlignSubspace(object, reduction.type, grouping.var, dims.align,
  num.genes = 30, show.plots = FALSE, ...)
 | 
| object | Seurat object | 
| reduction.type | reduction to align scores for | 
| grouping.var | Name of the grouping variable for which to align the scores | 
| dims.align | Dims to align, default is all | 
| num.genes | Number of genes to use in construction of "metagene" | 
| show.plots | show debugging plots | 
| ... | Additional parameters to ScaleData | 
Returns Seurat object with the dims aligned, stored in object@dr$reduction.type.aligned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.