Bases: BaseExporter
Exporter for Labels curations.
| Attributes: |
|
|---|
get_sra(labels, fields)
¶
Retrieve SRA IDs from the annotations if they exist.
| Parameters: |
|
|---|
| Returns: |
|
|---|
save(labels, fmt, file, citation_config, metadata=None, **kwargs)
¶
Save labels curation to json. Keys are terms and values are positively, negative, netral, and control labeled entries.
| Parameters: |
|
|---|
to_csv(curation, file, citation_config, metadata=None, **kwargs)
¶
Save labels to csv.
| Parameters: |
|
|---|
to_json(curation, file, citation_config, metadata=None)
¶
Save labels curation to json. Keys are terms and values are positively labelstated indices.
| Parameters: |
|
|---|
to_numpy(curation)
¶
Returns the labelstation data as a numpy array.
to_parquet(curation, file, citation_config, metadata=None, **kwargs)
¶
Save labels to parquet.
| Parameters: |
|
|---|
to_tsv(curation, file, citation_config, metadata=None, **kwargs)
¶
Save labels to tsv.
| Parameters: |
|
|---|