alphagenome.models.dna_output.Output#
- class alphagenome.models.dna_output.Output(atac=None, cage=None, dnase=None, rna_seq=None, chip_histone=None, chip_tf=None, splice_sites=None, splice_site_usage=None, splice_junctions=None, contact_maps=None, procap=None)[source]#
Model outputs for a single prediction.
- atac#
TrackData of type OutputType.ATAC.
- cage#
TrackData of type OutputType.CAGE.
- dnase#
TrackData of type OutputType.DNASE.
- rna_seq#
TrackData of type OutputType.RNA_SEQ.
- chip_histone#
TrackData of type OutputType.CHIP_HISTONE.
- chip_tf#
TrackData of type OutputType.CHIP_TF.
- splice_sites#
TrackData of type OutputType.SPLICE_SITES.
- splice_site_usage#
TrackData of type OutputType.SPLICE_SITE_USAGE.
- splice_junctions#
TrackData of type OutputType.SPLICE_JUNCTIONS.
- contact_maps#
TrackData of type OutputType.CONTACT_MAPS.
- procap#
TrackData of type OutputType.PROCAP.
Attributes#
Table
Methods#
Table
|
Filters tracks to specific ontology terms. |
|
Filters tracks to specific output type. |
|
Filters tracks by DNA strand. |
|
Gets the track data for the specified output type. |
|
Applies a transformation function to each |
|
Resizes all track data to a specified width. |
- Output.filter_ontology_terms(ontology_terms)[source]#
Filters tracks to specific ontology terms.
- Parameters:
ontology_terms (
Iterable
[OntologyTerm
]) – An iterable ofOntologyTerm
objects to filter to.- Return type:
- Returns:
A new
Output
object with only the tracks associated with the specified ontology terms.
- Output.filter_output_type(output_types)[source]#
Filters tracks to specific output type.
- Parameters:
output_types (
Iterable
[OutputType
]) – An iterable ofOutputType
enums to filter by.- Return type:
- Returns:
A new
Output
object with only the tracks of the specified output types.
- Output.get(output_type)[source]#
Gets the track data for the specified output type.
- Parameters:
output_type (
OutputType
) – The type of output to retrieve.- Return type:
- Returns:
The track data for the specified output type, or None if no such data exists.