API

sccloud can also be used as a python package. Import sccloud by:

import sccloud as scc

Analysis Tools

Read and Write

read_input
write_output
aggregate_matrices

Preprocess

qc_metrics
get_filter_stats
filter_data
select_features
log_norm
highly_variable_features
pca

Batch Correction

set_group_attribute
correct_batch

Nearest Neighbors

neighbors
calc_kBET
calc_kSIM

Diffusion Map

diffmap
reduce_diffmap_to_3d
calc_pseudotime
infer_path

Cluster algorithms

louvain
leiden
spectral_louvain
spectral_leiden

Visualization Algorithms

tsne
fitsne
umap
fle
net_tsne
net_fitsne
net_umap
net_fle

Differential Expression Analysis

de_analysis
markers
find_markers
write_results_to_excel

Write single-cell-portal-formatted outputs

tools.run_scp_output

Annotate clusters:

infer_cell_types
annotate

Plotting

Interactive Plots

embedding
composition_plot
variable_feature_plot
heatmap
dotplot

Quality Control Plots

violin
scatter
scatter_matrix

Demultiplexing

estimate_background_probs
demultiplex

Miscellaneous

search_genes
search_de_genes