Preprocessing: pp#
The preprocessing module crested.pp hosts functions that prepare an AnnData object for CREsted training and evaluation.
Functions
|
Change the widths of all regions in the adata object. |
|
Filter bed regions & targets/predictions based on high Gini score. |
|
Normalize the adata.X based on variability of the top values per cell type. |
Sort bed regions & targets/predictions based on high Gini or proportion score per colum while keeping the top k rows per column. |
|
|
Add 'train/val/test' split column to AnnData object. |