filter_by_tissue

filter_by_tissue#

JunctionData.filter_by_tissue(tissue)[source]#

Filters tracks by GTEx tissue type.

Parameters:

tissue (str) – The GTEx tissue type to filter by.

Return type:

JunctionData

Returns:

A new JunctionData object with tracks from the specified tissue.

Raises:

ValueError – If the metadata does not contain a ‘gtex_tissue’ column.