GSForge.plots Package


plots Package

Plotting functions for GSForge.

GSForge.plots.plot_count_sum_mass(counts: numpy.ndarray, lengths: numpy.ndarray)[source]

Plots the sum of the gene masses (along the sample axis) for the given count array.

Parameters
  • counts

  • lengths

Returns

GSForge.plots.plot_sample_mass(sample: numpy.ndarray, lengths: numpy.ndarray)[source]

Plots gene masses (counts * lengths) for the given sample array.

Parameters
  • sample (np.ndarray) – An array containing the count values.

  • lengths (np.ndarray) – An array containing the length values.

Returns

class GSForge.plots.ScatterDistributionBase(*args, **params)[source]

Bases: GSForge.models._OperationInterface.OperationInterface

gem = param.ClassSelector(class_=<class ‘GSForge.models._AnnotatedGEM.AnnotatedGEM’>)

An AnnotatedGEM object.

gene_set_collection = param.ClassSelector(class_=<class ‘GSForge.models._GeneSetCollection.GeneSetCollection’>)

A GeneSetCollection object.

selected_gene_sets = param.ListSelector(default=[None], objects=[])

A list of keys from the provided GeneSetCollection (stored in gene_set_collection) that are to be used for selecting sets of genes from the count matrix.

selected_genes = param.Parameter()

A list of genes to use in indexing from the count matrix. This parameter takes priority over all other gene selecting methods. That means that selected lineaments (or combinations thereof) will have no effect.

gene_set_mode = param.ObjectSelector(default=’union’, objects=[‘complete’, ‘union’, ‘intersection’])

Controls how any selected gene sets are returned by the interface. + complete Returns the entire gene set of the AnnotatedGEM. + union Returns the union of the selected gene sets support. + intersection Returns the intersection of the selected gene sets support.

sample_subset = param.Parameter()

A list of samples to use in a given operation. These can be supplied directly as a list of genes, or can be drawn from a given GeneSet.

count_variable = param.String()

The name of the count matrix used.

annotation_variables = param.Parameter()

The name of the active annotation variable(s). These are the annotation columns that will be control the subset returned by y_annotation_data.

count_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘masked’, ‘dropped’])

The type of mask to use for the count matrix. + ‘complete’ returns the entire count matrix as numbers. + ‘masked’ returns the entire count matrix with zero or missing as NaN values. + ‘dropped’ returns the count matrix without genes that have zero or missing values.

annotation_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘dropped’])

The type of mask to use for the target array. + ‘complete’ returns the entire target array. + ‘masked’ returns the entire target array with zero or missing as NaN values. + ‘dropped’ returns the target array without samples that have zero or missing values.

count_transform = param.Callable()

A transform that will be run on the x_data that is supplied by this Interface. The transform runs on the subset of the matrix that has been selected.

datashade_ = param.Boolean(bounds=(0, 1), default=False)

dynspread_ = param.Boolean(bounds=(0, 1), default=False)

log_scale = param.Boolean(bounds=(0, 1), default=True)

x_axis_selector = param.ObjectSelector(default=’mean’, objects=[])

y_axis_selector = param.ObjectSelector(default=’variance’, objects=[])

axis_transform = param.Parameter()

backend = param.ObjectSelector(default=’bokeh’, objects=[‘bokeh’, ‘matplotlib’])

property active_count_variable

Returns the name of the currently active count matrix.

debug(**kwargs)

Inspect .param.debug method for the full docstring

defaults(**kwargs)

Inspect .param.defaults method for the full docstring

force_new_dynamic_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
property gene_index_name

Returns the name of the gene index.

get_gene_index(count_variable=None) → numpy.core.multiarray.array

Get the currently selected gene index as a numpy array.

Parameters

count_variable – The variable to be retrieved.

Returns

A numpy array of the currently selected genes.

get_param_values = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
get_sample_index() → numpy.core.multiarray.array

Get the currently selected sample index as a numpy array.

Returns

A numpy array of the currently selected samples.

get_selection_indexes() → dict

Returns the currently selected indexes as a dictionary.

get_value_generator = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
inspect_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
instance = functools.partial(<function ParameterizedFunction.instance>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
message(**kwargs)

Inspect .param.message method for the full docstring

params = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
pprint(imports=None, prefix='\n ', unknown_value='<?>', qualify=False, separator='')

Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y

classmethod print_param_defaults(*args, **kwargs)

Inspect .param.print_param_defaults method for the full docstring

print_param_values(**kwargs)

Inspect .param.print_param_values method for the full docstring

process()[source]

Abstract process.

property sample_index_name

Returns the name of the sample index.

script_repr(imports=[], prefix=' ')

Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y

property selection

Returns the currently selected data.

classmethod set_default(*args, **kwargs)

Inspect .param.set_default method for the full docstring

set_dynamic_time_fn = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
set_param = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._scatter_distributions.ScatterDistributionBase'>)
state_pop()

Restore the most recently saved state.

See state_push() for more details.

state_push()

Save this instance’s state.

For Parameterized instances, this includes the state of dynamically generated values.

Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().

Generally, this method is used by operations that need to test something without permanently altering the objects’ state.

verbose(**kwargs)

Inspect .param.verbose method for the full docstring

warning(**kwargs)

Inspect .param.warning method for the full docstring

property x_count_data

Returns the currently selected ‘x_data’. Usually this will be a subset of the active count array.

Returns

An Xarray.Dataset selection of the currently active ‘x_data’.

property y_annotation_data

Returns the currently selected ‘y_data’, or None, based on the selected_annotation_variables parameter.

Returns

An xarray.Dataset or xarray.DataArray object of the currently selected y_data.

GSForge.plots.plot_sample(sample: numpy.ndarray)[source]

Plots the gene counts for the given sample array as a bar-plot like single-path element.

Parameters

sample (np.ndarray) – An array containing the count values.

Returns

class GSForge.plots.SampleWiseDistribution(*args, **params)[source]

Bases: GSForge.models._OperationInterface.OperationInterface

gem = param.ClassSelector(class_=<class ‘GSForge.models._AnnotatedGEM.AnnotatedGEM’>)

An AnnotatedGEM object.

gene_set_collection = param.ClassSelector(class_=<class ‘GSForge.models._GeneSetCollection.GeneSetCollection’>)

A GeneSetCollection object.

selected_gene_sets = param.ListSelector(default=[None], objects=[])

A list of keys from the provided GeneSetCollection (stored in gene_set_collection) that are to be used for selecting sets of genes from the count matrix.

selected_genes = param.Parameter()

A list of genes to use in indexing from the count matrix. This parameter takes priority over all other gene selecting methods. That means that selected lineaments (or combinations thereof) will have no effect.

gene_set_mode = param.ObjectSelector(default=’union’, objects=[‘complete’, ‘union’, ‘intersection’])

Controls how any selected gene sets are returned by the interface. + complete Returns the entire gene set of the AnnotatedGEM. + union Returns the union of the selected gene sets support. + intersection Returns the intersection of the selected gene sets support.

sample_subset = param.Parameter()

A list of samples to use in a given operation. These can be supplied directly as a list of genes, or can be drawn from a given GeneSet.

count_variable = param.String()

The name of the count matrix used.

annotation_variables = param.Parameter()

The name of the active annotation variable(s). These are the annotation columns that will be control the subset returned by y_annotation_data.

count_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘masked’, ‘dropped’])

The type of mask to use for the count matrix. + ‘complete’ returns the entire count matrix as numbers. + ‘masked’ returns the entire count matrix with zero or missing as NaN values. + ‘dropped’ returns the count matrix without genes that have zero or missing values.

annotation_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘dropped’])

The type of mask to use for the target array. + ‘complete’ returns the entire target array. + ‘masked’ returns the entire target array with zero or missing as NaN values. + ‘dropped’ returns the target array without samples that have zero or missing values.

count_transform = param.Callable()

A transform that will be run on the x_data that is supplied by this Interface. The transform runs on the subset of the matrix that has been selected.

ax = param.Parameter()

property active_count_variable

Returns the name of the currently active count matrix.

debug(**kwargs)

Inspect .param.debug method for the full docstring

defaults(**kwargs)

Inspect .param.defaults method for the full docstring

force_new_dynamic_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
property gene_index_name

Returns the name of the gene index.

get_gene_index(count_variable=None) → numpy.core.multiarray.array

Get the currently selected gene index as a numpy array.

Parameters

count_variable – The variable to be retrieved.

Returns

A numpy array of the currently selected genes.

get_param_values = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
get_sample_index() → numpy.core.multiarray.array

Get the currently selected sample index as a numpy array.

Returns

A numpy array of the currently selected samples.

get_selection_indexes() → dict

Returns the currently selected indexes as a dictionary.

get_value_generator = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
inspect_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
instance = functools.partial(<function ParameterizedFunction.instance>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
message(**kwargs)

Inspect .param.message method for the full docstring

static np_sample_distributions(counts: numpy.ndarray, labels: numpy.ndarray = None, ax=None)[source]

Calculate and overlay kernel density estimates of the given count matrix on a per-sample basis.

If this gives a ValueError you may need to install statsmodels for a more robust kernel estimate.

Parameters
  • counts (numpy.ndarray) – The count matrix to be displayed.

  • labels (numpy.ndarray) – If provided the output density estimates will be colored by their label membership.

Returns

matplotlib.axes with overlayed kernel density estimates.

params = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
pprint(imports=None, prefix='\n ', unknown_value='<?>', qualify=False, separator='')

Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y

classmethod print_param_defaults(*args, **kwargs)

Inspect .param.print_param_defaults method for the full docstring

print_param_values(**kwargs)

Inspect .param.print_param_values method for the full docstring

process()[source]
Returns

property sample_index_name

Returns the name of the sample index.

script_repr(imports=[], prefix=' ')

Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y

property selection

Returns the currently selected data.

classmethod set_default(*args, **kwargs)

Inspect .param.set_default method for the full docstring

set_dynamic_time_fn = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
set_param = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._distributions.SampleWiseDistribution'>)
state_pop()

Restore the most recently saved state.

See state_push() for more details.

state_push()

Save this instance’s state.

For Parameterized instances, this includes the state of dynamically generated values.

Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().

Generally, this method is used by operations that need to test something without permanently altering the objects’ state.

verbose(**kwargs)

Inspect .param.verbose method for the full docstring

warning(**kwargs)

Inspect .param.warning method for the full docstring

property x_count_data

Returns the currently selected ‘x_data’. Usually this will be a subset of the active count array.

Returns

An Xarray.Dataset selection of the currently active ‘x_data’.

property y_annotation_data

Returns the currently selected ‘y_data’, or None, based on the selected_annotation_variables parameter.

Returns

An xarray.Dataset or xarray.DataArray object of the currently selected y_data.

class GSForge.plots.RasterGEM(*args, **params)[source]

Bases: GSForge.models._OperationInterface.OperationInterface

gem = param.ClassSelector(class_=<class ‘GSForge.models._AnnotatedGEM.AnnotatedGEM’>)

An AnnotatedGEM object.

gene_set_collection = param.ClassSelector(class_=<class ‘GSForge.models._GeneSetCollection.GeneSetCollection’>)

A GeneSetCollection object.

selected_gene_sets = param.ListSelector(default=[None], objects=[])

A list of keys from the provided GeneSetCollection (stored in gene_set_collection) that are to be used for selecting sets of genes from the count matrix.

selected_genes = param.Parameter()

A list of genes to use in indexing from the count matrix. This parameter takes priority over all other gene selecting methods. That means that selected lineaments (or combinations thereof) will have no effect.

gene_set_mode = param.ObjectSelector(default=’union’, objects=[‘complete’, ‘union’, ‘intersection’])

Controls how any selected gene sets are returned by the interface. + complete Returns the entire gene set of the AnnotatedGEM. + union Returns the union of the selected gene sets support. + intersection Returns the intersection of the selected gene sets support.

sample_subset = param.Parameter()

A list of samples to use in a given operation. These can be supplied directly as a list of genes, or can be drawn from a given GeneSet.

count_variable = param.String()

The name of the count matrix used.

annotation_variables = param.Parameter()

The name of the active annotation variable(s). These are the annotation columns that will be control the subset returned by y_annotation_data.

count_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘masked’, ‘dropped’])

The type of mask to use for the count matrix. + ‘complete’ returns the entire count matrix as numbers. + ‘masked’ returns the entire count matrix with zero or missing as NaN values. + ‘dropped’ returns the count matrix without genes that have zero or missing values.

annotation_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘dropped’])

The type of mask to use for the target array. + ‘complete’ returns the entire target array. + ‘masked’ returns the entire target array with zero or missing as NaN values. + ‘dropped’ returns the target array without samples that have zero or missing values.

count_transform = param.Callable()

A transform that will be run on the x_data that is supplied by this Interface. The transform runs on the subset of the matrix that has been selected.

property active_count_variable

Returns the name of the currently active count matrix.

debug(**kwargs)

Inspect .param.debug method for the full docstring

defaults(**kwargs)

Inspect .param.defaults method for the full docstring

force_new_dynamic_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
property gene_index_name

Returns the name of the gene index.

get_gene_index(count_variable=None) → numpy.core.multiarray.array

Get the currently selected gene index as a numpy array.

Parameters

count_variable – The variable to be retrieved.

Returns

A numpy array of the currently selected genes.

get_param_values = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
get_sample_index() → numpy.core.multiarray.array

Get the currently selected sample index as a numpy array.

Returns

A numpy array of the currently selected samples.

get_selection_indexes() → dict

Returns the currently selected indexes as a dictionary.

get_value_generator = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
inspect_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
instance = functools.partial(<function ParameterizedFunction.instance>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
message(**kwargs)

Inspect .param.message method for the full docstring

params = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
pprint(imports=None, prefix='\n ', unknown_value='<?>', qualify=False, separator='')

Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y

classmethod print_param_defaults(*args, **kwargs)

Inspect .param.print_param_defaults method for the full docstring

print_param_values(**kwargs)

Inspect .param.print_param_values method for the full docstring

process()[source]

Abstract process.

property sample_index_name

Returns the name of the sample index.

script_repr(imports=[], prefix=' ')

Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y

property selection

Returns the currently selected data.

classmethod set_default(*args, **kwargs)

Inspect .param.set_default method for the full docstring

set_dynamic_time_fn = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
set_param = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._raster_gem.RasterGEM'>)
state_pop()

Restore the most recently saved state.

See state_push() for more details.

state_push()

Save this instance’s state.

For Parameterized instances, this includes the state of dynamically generated values.

Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().

Generally, this method is used by operations that need to test something without permanently altering the objects’ state.

verbose(**kwargs)

Inspect .param.verbose method for the full docstring

warning(**kwargs)

Inspect .param.warning method for the full docstring

property x_count_data

Returns the currently selected ‘x_data’. Usually this will be a subset of the active count array.

Returns

An Xarray.Dataset selection of the currently active ‘x_data’.

property y_annotation_data

Returns the currently selected ‘y_data’, or None, based on the selected_annotation_variables parameter.

Returns

An xarray.Dataset or xarray.DataArray object of the currently selected y_data.

class GSForge.plots.GenesVsCounts(*args, **params)[source]

Bases: GSForge.models._OperationInterface.OperationInterface

gem = param.ClassSelector(class_=<class ‘GSForge.models._AnnotatedGEM.AnnotatedGEM’>)

An AnnotatedGEM object.

gene_set_collection = param.ClassSelector(class_=<class ‘GSForge.models._GeneSetCollection.GeneSetCollection’>)

A GeneSetCollection object.

selected_gene_sets = param.ListSelector(default=[None], objects=[])

A list of keys from the provided GeneSetCollection (stored in gene_set_collection) that are to be used for selecting sets of genes from the count matrix.

selected_genes = param.Parameter()

A list of genes to use in indexing from the count matrix. This parameter takes priority over all other gene selecting methods. That means that selected lineaments (or combinations thereof) will have no effect.

gene_set_mode = param.ObjectSelector(default=’union’, objects=[‘complete’, ‘union’, ‘intersection’])

Controls how any selected gene sets are returned by the interface. + complete Returns the entire gene set of the AnnotatedGEM. + union Returns the union of the selected gene sets support. + intersection Returns the intersection of the selected gene sets support.

sample_subset = param.Parameter()

A list of samples to use in a given operation. These can be supplied directly as a list of genes, or can be drawn from a given GeneSet.

count_variable = param.String()

The name of the count matrix used.

annotation_variables = param.Parameter()

The name of the active annotation variable(s). These are the annotation columns that will be control the subset returned by y_annotation_data.

count_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘masked’, ‘dropped’])

The type of mask to use for the count matrix. + ‘complete’ returns the entire count matrix as numbers. + ‘masked’ returns the entire count matrix with zero or missing as NaN values. + ‘dropped’ returns the count matrix without genes that have zero or missing values.

annotation_mask = param.ObjectSelector(default=’complete’, objects=[‘complete’, ‘dropped’])

The type of mask to use for the target array. + ‘complete’ returns the entire target array. + ‘masked’ returns the entire target array with zero or missing as NaN values. + ‘dropped’ returns the target array without samples that have zero or missing values.

count_transform = param.Callable()

A transform that will be run on the x_data that is supplied by this Interface. The transform runs on the subset of the matrix that has been selected.

hue = param.Parameter()

mode = param.ObjectSelector(default=’scatter’, objects=[‘scatter’])

property active_count_variable

Returns the name of the currently active count matrix.

debug(**kwargs)

Inspect .param.debug method for the full docstring

defaults(**kwargs)

Inspect .param.defaults method for the full docstring

force_new_dynamic_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
property gene_index_name

Returns the name of the gene index.

get_gene_index(count_variable=None) → numpy.core.multiarray.array

Get the currently selected gene index as a numpy array.

Parameters

count_variable – The variable to be retrieved.

Returns

A numpy array of the currently selected genes.

get_param_values = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
get_sample_index() → numpy.core.multiarray.array

Get the currently selected sample index as a numpy array.

Returns

A numpy array of the currently selected samples.

get_selection_indexes() → dict

Returns the currently selected indexes as a dictionary.

get_value_generator = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
inspect_value = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
instance = functools.partial(<function ParameterizedFunction.instance>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
message(**kwargs)

Inspect .param.message method for the full docstring

params = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
pprint(imports=None, prefix='\n ', unknown_value='<?>', qualify=False, separator='')

Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y

classmethod print_param_defaults(*args, **kwargs)

Inspect .param.print_param_defaults method for the full docstring

print_param_values(**kwargs)

Inspect .param.print_param_values method for the full docstring

process()[source]

Abstract process.

property sample_index_name

Returns the name of the sample index.

script_repr(imports=[], prefix=' ')

Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y

property selection

Returns the currently selected data.

classmethod set_default(*args, **kwargs)

Inspect .param.set_default method for the full docstring

set_dynamic_time_fn = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
set_param = functools.partial(<function Parameters.deprecate.<locals>.inner>, <class 'GSForge.plots._compare_gene_counts.GenesVsCounts'>)
state_pop()

Restore the most recently saved state.

See state_push() for more details.

state_push()

Save this instance’s state.

For Parameterized instances, this includes the state of dynamically generated values.

Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().

Generally, this method is used by operations that need to test something without permanently altering the objects’ state.

verbose(**kwargs)

Inspect .param.verbose method for the full docstring

warning(**kwargs)

Inspect .param.warning method for the full docstring

property x_count_data

Returns the currently selected ‘x_data’. Usually this will be a subset of the active count array.

Returns

An Xarray.Dataset selection of the currently active ‘x_data’.

property y_annotation_data

Returns the currently selected ‘y_data’, or None, based on the selected_annotation_variables parameter.

Returns

An xarray.Dataset or xarray.DataArray object of the currently selected y_data.

GSForge.plots.genesetcollection_overlap_heatmap(alpha: dict, beta: dict)[source]

View the overlap (as a heatmap) of two GeneSetCollection dictionaries, as provided by gsc.as_dict().

Parameters
  • alpha

  • beta

Returns