API
Import scBond:
import scBond
bond
|
Load data to Bond model. |
|
Preprocessing for RNA data and methylation data in Bond. |
|
Data augmentation for Bond model (cell type only). |
|
Main model. |
|
Training for model. |
|
Test for model. |
|
Predict methylation data from RNA data using existing test indices. |
Predict RNA data from methylation data using existing test indices. |
|
|
Single modal prediction for RNA or methylation data using existing test indices. |
calculate_cluster
Evaluation of cluster index of prediction. |
data_processing
|
Simulates measurement errors in methylation sequencing by randomly flipping a proportion of sites between 0 and 1. |
|
Impute missing values in methyaltion level matrices. |
|
Preprocessing for methylation data, including filtering features, missing value imputation, optional noise addition, and normalization. |
|
Preprocessing for RNA data, we choose normalization, log transformation and highly variable genes, using scanpy. |
draw_cluster
|
Visualization of prediction using tSNE Algorithm. |
|
Visualization of prediction using UMAP Algorithm. |
train_model
|
|
Predict RNA data from methylation data using existing test indices. |
|
Predict methylation data from RNA data using existing test indices. |
|
|
Test for model. |
|
Training for model. |