1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
r"""Biological Embeddings (:mod:`skbio.embedding`)
=================================================
.. currentmodule:: skbio.embedding
This module provides support for storing embeddings for biological objects, such
as protein embeddings outputted from protein language models (pLMs).
Embedding types
---------------
.. autosummary::
:toctree: generated/
Embedding
SequenceEmbedding
ProteinEmbedding
Embedding vector types
----------------------
.. autosummary::
:toctree: generated/
SequenceVector
ProteinVector
Embedding vector utilities
--------------------------
.. autosummary::
:toctree: generated/
embed_vec_to_numpy
embed_vec_to_distances
embed_vec_to_ordination
embed_vec_to_dataframe
"""
# ----------------------------------------------------------------------------
# Copyright (c) 2013--, scikit-bio development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE.txt, distributed with this software.
# ----------------------------------------------------------------------------
from ._embedding import (
Embedding,
SequenceEmbedding,
EmbeddingVector,
SequenceVector,
embed_vec_to_numpy,
embed_vec_to_distances,
embed_vec_to_ordination,
embed_vec_to_dataframe,
)
from ._protein import ProteinEmbedding, ProteinVector, example_protein_embedding
__all__ = [
"Embedding",
"SequenceEmbedding",
"EmbeddingVector",
"SequenceVector",
"embed_vec_to_numpy",
"embed_vec_to_distances",
"embed_vec_to_ordination",
"embed_vec_to_dataframe",
"ProteinEmbedding",
"ProteinVector",
"example_protein_embedding",
]
|