API

Main Class

ScMags

A class containing the Count matrix and cluster labels, with methods that can select markers and visualize selected markers

Filter Genes

ScMags.filter_genes

It filters out genes that cannot be cluster-specific markers for each cluster for computational efficiency.

Select Markers

ScMags.sel_clust_marker

Performs cluster-specific marker selection among filtered genes.

Visualization

ScMags.dot_plot

This function draws the dot plot from the scanpy library In this plot,the colors represent the normalized within-cluster average expression, and the circles represent the within-cluster expression rates.

ScMags.markers_heatmap

Draws a heatmap with selected markers

ScMags.knn_classifier

This function performs k-NN classification with selected markers.

ScMags.markers_tSNE

Draws tSNE plot with selected markers