JunctionData#
- class alphagenome.data.junction_data.JunctionData(junctions, values, metadata, interval=None, uns=None)[source]#
Container for storing splice junction data.
- junctions#
A numpy array representing the splice junctions.
- values#
A numpy array of floats representing the values associated with each junction for each track.
- metadata#
A pandas DataFrame containing metadata for each track.
- interval#
An optional
Intervalobject representing the genomic region containing the junctions.
- uns#
An optional dictionary to store additional unstructured data.
- Raises:
ValueError – If the number of tracks in
valuesdoes not match the number of rows inmetadata, or ifmetadatacontains duplicate names.
Methods
|
Filters tracks by name. |
|
Filters tracks by ontology term. |
|
Filters tracks by GTEx tissue type. |
Filters junctions to the negative DNA strand. |
|
Filters tracks to observed tracks. |
|
Filters junctions to the positive DNA strand. |
|
|
Filters junctions to a specific DNA strand. |
|
Filters tracks by a boolean mask. |
|
Returns the intersection of the junctions and the interval. |
|
Normalizes the values by the k value. |
|
Returns a new |
|
Returns a new |