immuneML.api package¶
Subpackages¶
- immuneML.api.aggregated_runs package
- immuneML.api.galaxy package
- Submodules
- immuneML.api.galaxy.DataSimulationTool module
- immuneML.api.galaxy.DatasetGenerationTool module
- immuneML.api.galaxy.GalaxyMLApplicationTool module
- immuneML.api.galaxy.GalaxySimulationTool module
- immuneML.api.galaxy.GalaxyTool module
- immuneML.api.galaxy.GalaxyTrainMLModel module
- immuneML.api.galaxy.GalaxyYamlTool module
- immuneML.api.galaxy.RepertoireClassificationTool module
- immuneML.api.galaxy.Util module
- immuneML.api.galaxy.build_dataset_yaml module
- immuneML.api.galaxy.build_yaml_from_arguments module
- Module contents
Submodules¶
immuneML.api.api_encoding module¶
- immuneML.api.api_encoding.encode_dataset_by_kmer_freq(path_to_dataset_directory: str, result_path: str, metadata_path: str = None)[source]¶
encodes the repertoire dataset using KmerFrequencyEncoder
- Parameters:
path_to_dataset_directory (str) – path to directory containing all repertoire files with .tsv extension in MiXCR format
result_path (str) – where to store the results
metadata_path (str) – csv file with columns “filename”, “subject_id”, “disease” which is filled by default if value of argument is None, otherwise any metadata csv file passed to the function, must include filename and subject_id columns, and an arbitrary disease column
- Returns:
encoded dataset with encoded data in encoded_dataset.encoded_data.examples