scgpt.tasks package

scgpt.tasks.grn

class scgpt.tasks.grn.GeneEmbedding(embeddings: Mapping)[源代码]

基类:object

static average_vector_results(vec1, vec2, fname)[源代码]
cluster_definitions_as_df(top_n=20)[源代码]
compute_similarities(gene, subset=None, feature_type=None)[源代码]
generate_network(threshold=0.5)[源代码]
generate_vector(genes)[源代码]
generate_weighted_vector(genes, weights)[源代码]
get_adata(resolution=20)[源代码]
get_metagenes(gdata)[源代码]
get_similar_genes(vector)[源代码]
plot_metagene(gdata, mg=None, title='Gene Embedding')[源代码]
plot_metagenes_scores(adata, metagenes, column, plot=None)[源代码]
plot_similarities(gene, n_genes=10, save=None)[源代码]
read_embedding(filename)[源代码]
static read_vector(vec)[源代码]
score_metagenes(adata, metagenes)[源代码]

Module contents