View source: R/calculate_ilisi.R
calculate_ilisi | R Documentation |
Calculate iLISI (integration Local Inverse Simpson's Index) scores
calculate_ilisi(merged_sce, pc_name, batch_column = "library_id")
merged_sce |
The merged SCE object containing data from multiple batches |
pc_name |
The name that allows access to the PCs. Example: fastMNN_PCA |
batch_column |
The variable in 'merged_sce' indicating the grouping of interest. Generally this is either batches or cell types. Default is "library_id". |
Data frame with three columns, one row per cell. Columns are 'ilisi_score', 'ilisi_score_norm', 'cell_barcode', and 'batch_id'. The column 'ilisi_score_norm' is a normalized version if 'ilisi_score' where values range from [0,1], inclusive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.