Preprocessing: pp
#
BAM/Fragment file processing#
|
Convert a BAM file to a fragment file. |
|
Import dataset and compute QC metrics. |
Additional Quality Control#
|
Add fraction of reads in peaks (FRiP) to the AnnData object. |
Matrix operation#
|
Generate cell by bin count matrix. |
|
Generate cell by peak count matrix. |
|
Generate cell by gene activity matrix. |
|
Filter cell outliers based on counts and numbers of genes expressed. |
|
Perform feature selection. |
|
Compute a neighborhood graph of observations. |
Doublet removal#
|
Compute probability of being a doublet using the scrublet algorithm. |
|
Remove doublets. |
Data Integration#
|
A modified MNN-Correct algorithm based on cluster centroid. |
|
Use harmonypy to integrate different experiments. |