Get Main experiment of a SingleCellExperiment

getMainExperiment(scExp)

Arguments

scExp

A SingleCellExperiment with named mainExp and altExps.

Value

The swapped SingleCellExperiment towards "main" experiment

Examples

data(scExp) getMainExperiment(scExp)
#> class: SingleCellExperiment #> dim: 5499 106 #> metadata(6): hc_cor consclust ... diff enr #> assays(2): counts normcounts #> rownames(5499): chr1_6025000_6030000 chr1_20185000_20190000 ... #> chrX_154395000_154400000 chrX_154545000_154550000 #> rowData names(4): ID Gene distanceToTSS top_feature #> colnames(106): scChIP_Jurkat_K4me3_BC1062721 #> scChIP_Jurkat_K4me3_BC12143233 ... scChIP_Ramos_K4me3_BC78985057 #> scChIP_Ramos_K4me3_BC9280513 #> colData names(9): barcode cell_id ... cell_cluster cell_cluster_color #> reducedDimNames(3): PCA UMAP Cor #> mainExpName: main #> altExpNames(0):