The liger object is created from two or more single cell datasets. To construct a liger object, the user needs to provide at least two expression (or another single-cell modality) matrices. The class provides functions for data preprocessing, integrative analysis, and visualization.
raw.dataList of raw data matrices, one per experiment/dataset (genes by cells)
norm.dataList of normalized matrices (genes by cells)
scale.dataList of scaled matrices (cells by genes)
sample.dataList of sampled matrices (gene by cells)
scale.unshared.dataList of scaled matrices of unshared features
h5file.infoList of HDF5-related information for each input dataset. Paths to raw data, indices, indptr, barcodes, genes and the pipeline through which the HDF5 file is formated (10X, AnnData, etc), type of sampled data (raw, normalized or scaled).
cell.dataDataframe of cell attributes across all datasets (nrows equal to total number cells across all datasets)
var.genesSubset of informative genes shared across datasets to be used in matrix factorization
var.unshared.featuresHighly variable unshared features selected from each dataset
HCell loading factors (one matrix per dataset, dimensions cells by k)
H.normNormalized cell loading factors (cells across all datasets combined into single matrix)
WShared gene loading factors (k by genes)
VDataset-specific gene loading factors (one matrix per dataset, dimensions k by genes)
AMatrices used for online learning (XH)
BMatrices used for online learning (HTH)
UMatrices used for unshared Matrix factorization
tsne.coordsMatrix of 2D coordinates obtained from running t-SNE on H.norm or H matrices
alignment.clustersInitial joint cluster assignments from shared factor alignment
clustersJoint cluster assignments for cells
snfList of values associated with shared nearest factor matrix for use in clustering and alignment (out.summary contains edge weight information between cell combinations)
agg.dataData aggregated within clusters
parametersList of parameters used throughout analysis
versionVersion of package used to create object
The key slots used in the liger object are described below.