mecfs_bio.build_system.task.gene_tissue_expression_clustermap_task
Task to make a heatmap plot with genes as rows and tissue/cell types as columns
Classes:
-
ExpressionMatrixClusterMapTaskV2–Task to make a heatmap plot with genes as rows and tissue/cell types as columns
Attributes:
-
logger–
ExpressionMatrixClusterMapTaskV2
Bases: Task
Task to make a heatmap plot with genes as rows and tissue/cell types as columns Goal is to show the specificity of genes for tissue/cell types
Methods:
-
create_standard_gene_magma_heatmap–Make a heatmap in which genes are selected according to their MAGMA significance.
-
execute–
Attributes:
-
deps(list[Task]) – -
gene_info_sources(Sequence[GeneInfoSource]) – -
meta(Meta) – -
plot_spec(XRHeatmapPlotSpec) – -
specificity_matrix_source(SpecificityMatrixSource) – -
tissue_info_sources(Sequence[TissueInfoSource]) – -
xr_pipe(XRDataPipe) –
create_standard_gene_magma_heatmap
classmethod
create_standard_gene_magma_heatmap(
asset_id: str,
extracted_magma_gene_results_source: GeneInfoSource,
gene_specificity_matrix_source: SpecificityMatrixSource,
gene_thesaurus_source: GeneInfoSource,
num_genes_to_keep: int = 300,
)
Make a heatmap in which genes are selected according to their MAGMA significance. Useful for delving deeper into MAGMA results .