API¶
Import scButterfly:
import scButterfly
butterfly¶
|
Load data to Butterfly model. |
Preprocessing for RNA data and ATAC data in Butterfly. |
|
|
Data augmentation for Butterfly model. |
|
Main model. |
Training for model. |
|
|
Test for model. |
calculate_cluster¶
Evaluation of cluster index of prediction. |
data_processing¶
|
Inversed TF-IDF transformation for matrix. |
|
Preprocessing for RNA data, we choose normalization, log transformation and highly variable genes, using scanpy. |
Preprocessing for ATAC data, we choose binarize, peaks filtering, TF-IDF transformation and scale transformation, using scanpy. |
|
|
Centered log-ratio transformation for ADT data. |
draw_cluster¶
|
Visualization of prediction using tSNE Algorithm. |
train_model¶
|
|
|
Training for model. |
|
Test for model. |
train_model_cite¶
|
|
|
Training for model. |
|
Test for model. |
train_model_perturb¶
|
|
|
Training for model. |
|
Test for model. |