 Research
 Open Access
 Published:
GraphKKE: graph Kernel Koopman embedding for human microbiome analysis
Applied Network Science volume 5, Article number: 96 (2020)
Abstract
More and more diseases have been found to be strongly correlated with disturbances in the microbiome constitution, e.g., obesity, diabetes, or some cancer types. Thanks to modern highthroughput omics technologies, it becomes possible to directly analyze human microbiome and its influence on the health status. Microbial communities are monitored over long periods of time and the associations between their members are explored. These relationships can be described by a timeevolving graph. In order to understand responses of the microbial community members to a distinct range of perturbations such as antibiotics exposure or diseases and general dynamical properties, the timeevolving graph of the human microbial communities has to be analyzed. This becomes especially challenging due to dozens of complex interactions among microbes and metastable dynamics. The key to solving this problem is the representation of the timeevolving graphs as fixedlength feature vectors preserving the original dynamics. We propose a method for learning the embedding of the timeevolving graph that is based on the spectral analysis of transfer operators and graph kernels. We demonstrate that our method can capture temporary changes in the timeevolving graph on both synthetic data and realworld data. Our experiments demonstrate the efficacy of the method. Furthermore, we show that our method can be applied to human microbiome data to study dynamic processes.
Introduction
Approximately every second cell in our body is a microbial cell. We are colonized by a diverse community of bacteria, archaea, and viruses, jointly referred to as the microbiome. About 1.5 kg of microbes live almost everywhere on and in the human body as symbionts, e.g., on the skin, in the mouth, or in the gut. They have a strong influence on both their hosts and environments. For example, more and more diseases have been found to be strongly correlated with the disturbances in the microbiome constitution, e.g., obesity (Hjorth et al. 2018; Menni et al. 2017; Kincaid et al. 2019), diabetes (Qin et al. 2012), or some cancer types (SánchezAlcoholado et al. 2020; Gopalakrishnan et al. 2018). Furthermore, recent studies have revealed that gut microbiome also has a huge impact on brain functions and is related to disorders such as Alzheimer’s disease (Xu and Wang 2016). Most studies aiming at understanding the differences in the microbiome profiles of healthy and ill individuals, however, are focused on statistical constitution analysis, omitting the large variety of complex microbe–microbe and host–microbe interactions, which can be modeled as timeevolving graphs.
It has also been found that although the constitution of the microbiome is constantly changing throughout our lives (in response to environmental factors), a healthy human microbiome can be considered as a metastable state lying in a minimum of some ecological stability landscape (Shaw et al. 2019). Broadly speaking, metastability can be observed when for short timescales, the system appears to be equilibrated, but at larger time scales, undergoes some transitions from one metastable state to other metastable states (Bovier 2006). This phenomenon occurs in dynamical systems of various structures, including systems with vectorvalued states, but also systems represented as timeevolving graphs. In this context, metastability means that the graph structure is stable for a relatively long time (up to small perturbations) before the system undergoes a critical transition—e.g., when it reaches a tipping point—and shifts to a different metastable state.
As an illustration of a timeevolving graph that lies in an energy landscape with two metastable states, consider the timeevolving microbiome interaction graph shown in Fig. 1, where vertices represent the concentrations of bacteria species and edges pairwise associations between them. In this example, a disease can be thought of as a perturbation that displaces the microbiome composition from its equilibrium (healthy) state. The consequence of this displacement is the reduction of the concentration in the red vertices and the removal of edges that connect red vertices. Given an evolution of the graphs (in this example, the evolution of the microbe interactions), we aim at analyzing dynamics occurring in the graph over time, namely, extracting the number of metastable states and their locations, substructures of a graph, which characterize the state space (e.g., the difference in the microbe interactions between the states healthy and ill). Moreover, the detection of the metastable states in the timeevolving graph can serve additional purposes such as graph clustering.
Related work
Two potential ways to detect metastable states in a timeevolving graph (e.g., the states healthy and ill in our example) are the following:

1
A typical solution would be to analyze the timeevolving graph directly in the space of graphs without taking into account potential temporal correlations. Practically, this can take the form of a simple kernelbased graph clustering algorithm. Classic graph kernels decompose graphs into substructures (e.g., walks (Kang et al. 2012), subgraphs (Shervashidze et al. 2009), paths (Borgwardt and Kriegel 2005), and subtrees (Shervashidze et al. 2011)) and count the number of common substructures between graphs in order to obtain the feature vectors. Afterwards, these feature vectors can be used by various machine learning approaches to cluster snapshots of the timeevolving graphs. The problem with such methods is that they are incapable of capturing the timeinformation, which is crucial for timeevolving graphs with metastability.

2
Another possible way is graph representation learning, which aims at finding a mapping that embeds the system into some lowdimensional space. That is, we represent a single snapshot of the timeevolving graph at each time point by a single vector retaining the original properties of the dynamics. After finding the optimal embedding space, the lowdimensional representation can be used as a feature input for diverse machine learning approaches for analyzing timeseries data.
The recently proposed methods for graph representation learning focus mostly on static graphs. These methods can be broadly divided into two categories. The first category comprises methods for embedding graph substructures (e.g., vertices or subgraphs), see Perozzi et al. (2014); Grover and Leskovec (2016); Wang et al. (2016); Ou et al. (2016). For instance, DeepWalk (Perozzi et al. 2014) and node2vec (Grover and Leskovec 2016) are approaches that use random walks to produce embeddings. The only difference between them is that node2vec utilizes two hyperparameters, where one of them controls the likelihood of a random walk to return to the previously visited vertex and another parameter controls the likelihood to explore undiscovered parts of a graph. DeepWalk first traverses the graph with random walks in order to extract local structures and then it uses the SkipGram algorithm to learn embeddings. The second category pertains to representation learning of the entire graph, which is used for the classification/clustering of the set of graphs. The graph2vec approach (Narayanan et al. 2017) learns the embedding of the set of graphs using the idea of the SkipGram from doc2vec (Le and Mikolov 2014). It comprises two main components: (1) The generation of rooted subgraphs around every vertex using the Weisfeiler–Lehman relabeling process from Shervashidze et al. (2011; 2) Learning the embedding of the given graphs following the SkipGram with negative sampling procedure. Although this approach is capable of projecting the entire set of graphs into lowdimensional space, it does not capture the timeevolution of the graph.
Recently, some work has also been done on learning the embedding vectors of vertices in the timeevolving graph. Dyngraph2vec (Goyal et al. 2020) is a deeplearning based approach which learns both the topological patterns in a graph and the temporal transitions using multiple nonlinear layers and recurrent layers. Moreover, it uses the lookback hyperparameter in the recurrent layers to control the length of temporal patterns. The idea of DynamicTriad (Zhou et al. 2018) is to use a group of three vertices, a socalled triad, to model the dynamic changes of graph structures. This approach only considers patterns within two time steps, which means that it cannot capture patterns that exist for a longer period of time. The main disadvantage of the substructure representation learning approaches, both for static and for timeevolving graphs, is that they are not able to project the entire set of snapshots of the timeevolving graph into lowdimensional space.
Contribution
To this end, we present an approach named graphKKE (the overall structure is shown in Fig. 2), which is, to our knowledge, the first approach for representation learning of an entire timeevolving graph. Inspired by the proposed kernel transfer operator approach for molecular conformation analysis (Klus et al. 2019b, 2018), we use the same approach for learning the embeddings of timeevolving graphs. The method is based on the spectral analysis of transfer operators, such as the Perron–Frobenius or Koopman operator in a reproducing kernel Hilbert space.
Overall, we highlight the following contributions:

We propose graphKKE, a novel unsupervised representation learning technique to analyze a timeevolving graph, i.e., class labels of the graphs are not required for learning their embedding. Moreover, we demonstrate the applicability of the graph kernels to timeevolving graphs. Our method is not only capable of preserving the information about the underlying dynamical graph patterns but also of taking into account the topological structure of the graph.

We present a new simulation method for constructing artificial benchmark datasets of timeevolving graphs with metastability and with graph structures of different complexity. We demonstrate that graphKKE significantly outperforms other methods for graph representation learning on several benchmark problems.

We illustrate that graphKKE can extract the important associations among microbes and capture the temporal changes occurring in the timeevolving microbiome interaction graph.
The remainder of this paper is organized as follows: In “Problem statement” section, the problem of learning the embeddings of timeevolving graphs with metastable behavior is defined. In “GraphKKE: Graph Kernel Koopman Embedding” section, we introduce transfer operators, graph kernels, and the method for the approximation of transfer operators using graph kernels. A model for the simulation of timeevolving benchmark graphs with metastability and the experiments with these benchmark datasets are presented in “Generating benchmark data with metastability and Experiments and Results” sections. Eventually, “Application to microbiome data” section illustrates that it is possible to obtain a meaningful lowdimensional representation for microbiome data.
Problem statement
In order to state the problem formally, let us first introduce the necessary notations and definitions.
A graph G is a pair (V, E) with a nonempty set of vertices V(G) and a set of edges \(E(G) = \{(v_i, v_j) \mid v_i, v_j \in V\}\). The set V(G) often represents the objects in the data and E(G) relations between objects. We define the adjacency matrix of the graph G as the \(n \times n\) matrix A with \(A_{ij} = 1\) if the edge \((v_i, v_j) \in E(G)\), and 0 otherwise. Furthermore, we say that \({\bar{G}} = ({\bar{V}}, {\bar{E}})\) is a subgraph of a graph \(G = (V, E)\) if and only if \({\bar{V}} \subseteq V\) and \({\bar{E}} \subseteq E \wedge ((v_i, v_j) \in {\bar{E}} \Rightarrow v_i, v_j \in {\bar{V}})\).
Given a timeevolving graph \({\mathbb {G}}\) as a sequence of T graphs \({\mathbb {G}} = (G_0,\dots , G_{T1})\) at the consecutive time points \(\{0,\dots , T1\}\) for some \(T \in {\mathbb {N}}\). We call \(G_t\) a timesnapshot of \({\mathbb {G}}\) at time t. We focus in particular on metastability properties of the timeevolving graph, that is, the property of being stable for a long time, and occasionally undergoing critical transitions from one state to another state, with a significant change in the edges and/or nodes. More formally, we say that the timeevolving graph \({\mathbb {G}}\) exhibits metastable behavior if \({\mathbb {G}}\) can be partitioned into s subsets \({\mathbb {G}} = {\mathbb {G}}_0 \cup \dots \cup {\mathbb {G}}_{s1}\) for some \(s \ll T\) such that for each time point \(t \in \{0,\dots , T1\}\)
and
We call \({\mathbb {G}}_0, \dots , {\mathbb {G}}_{s1}\) metastable states of the timeevolving graph \({\mathbb {G}}\) and each \(G_t, t = 0, \dots , T1\), belongs to exactly one of the states \({\mathbb {G}}_i\). In most cases, each state \({\mathbb {G}}_i\) is characterized by a certain pattern of graph attributes (i.e., edges, vertex labels).
We define our problem as follows: Given a timeevolving graph \({\mathbb {G}} = (G_0, \dots , G_{T  1})\) with assumed metastable behavior, we aim to represent each timesnapshot \(G_t\) as a vector in a lowdimensional space \({\mathbb {R}}^m\), where m is a number of embedding dimensions, retaining the metastable behavior of \({\mathbb {G}}\).
Commonly, the number of embedding dimensions m is a hyperparameter that has to be tuned in order to obtain a good performance, in our approach we will show that the number of embedding dimensions m can be chosen to be the number of states s, which eliminates the need to optimize this hyperparameter.
GraphKKE: graph Kernel Koopman embedding
In what follows, we first introduce transfer operators, kernel functions, and graph kernels. Afterwards, we present our approach—graphKKE—that is capable of learning embeddings of timeevolving graphs preserving temporal changes in a lowdimensional space.
Transfer operators
In order to capture the temporal changes in the timeevolving graph, transfer operator theory will be used in our method. Therefore, we will briefly discuss transfer operators and their applicability in the analysis of dynamical systems (for details, see Klus et al. (2016)). Information about the evolution of the system is contained in the spectral properties (such as eigenvalues and eigenfunctions) of linear operators. The most commonly used examples of such operators are the Koopman operator and the Perron–Frobenius operator.
Let \(\{X_t\}_{t\ge 0}\) be a stochastic process defined on a highdimensional state space \({\mathbb {X}} \subset {\mathbb {R}}^d\). The pointwise evolution of \(X_t\) can be formally described by the transition density function \(p_\tau (y \mid x)\), which gives the probability to find the process at a point y after some lag time \(\tau\), given that it started in x at time 0. More formally, the transition density function is
With the aid of the transition density function, the Koopman operator expresses the evolution of a function of the state, also called observable, whereas the Perron–Frobenius operator evolves probability densities. Let \(f_t \in L^\infty ({\mathbb {X}})\) be an observable of the system. Then the Koopman operator \({\mathcal {K}}_{\tau } :L^\infty ({\mathbb {X}}) \rightarrow L^\infty ({\mathbb {X}})\) is defined by
The evolution of probability densities can be described in a similar way. Assume the initial density of the system is given by \(g_t \in L^1({\mathbb {X}})\). Then the Perron–Frobenius operator \({\mathcal {P}}_{\tau } :L^1({\mathbb {X}}) \rightarrow L^1({\mathbb {X}})\) is defined by
A density \(\pi\) is called invariant density or equilibrium density if it is invariant under the action of \({\mathcal {P}}_\tau\), that is, \({\mathcal {P}}_\tau \pi = \pi\). Let \(u_t(x) = \pi (x)^{1}g_t(x)\) be a probability density with respect to the equilibrium density \(\pi\). Then, the Perron–Frobenius operator with respect to the equilibrium density is defined as
Both the Koopman operator \({\mathcal {K}}_{\tau }\) and the Perron–Frobenius operator \({\mathcal {P}}_{\tau }\) are linear, infinitedimensional operators, which are adjoint to each other and, therefore, it should not matter which one we choose to study the behavior of the system. Moreover, although they are typically defined on the function spaces \(L^1\) and \(L^{\infty }\), we assume that the operators are welldefined on \(L^2\) (for details, see Klus et al. (2016)).
The information about the longterm behavior of the dynamical system is encoded in the spectral properties of these operators such as eigenvalues and eigenfunctions (Klus et al. 2019b). More precisely, eigenfunctions with eigenvalues close to 1 of both Koopman and Perron–Frobenius operators contain information about the locations of metastable states in the state space \({\mathbb {X}}\).
Since transfer operators are infinitedimensional, the goal is to obtain a finitedimensional approximation of these operators. Below, we will show how to obtain a finitedimensional approximation of transfer operators utilizing the evaluation of graph kernels on training data.
Graph kernels
In this section, we describe kernel functions and a neighborhood aggregation graph kernel, the 1dimensional Weisfeiler–Lehman kernel, since all our experiments make use of this graph kernel. However, one can potentially use other graph kernels, which can be tailored to specific applications.
Kernel function
Kernelbased methods are machine learning algorithms that learn by comparing any pair of data points using similarity measures called kernel functions. We will say that \(k :{\mathbb {X}} \times {\mathbb {X}} \rightarrow {\mathbb {R}}\) is a kernel on \({\mathbb {X}}\) if there is a Hilbert space \({\mathbb {H}}\) and a feature map \(\varphi :{\mathbb {X}} \rightarrow {\mathbb {H}}\) such that
for \(x, x' \in {\mathbb {X}}\) and where \(\langle \cdot , \cdot \rangle\) is the inner product on \({\mathbb {H}}\). A feature map \(\varphi\) exists if and only if k is a positivesemidefinite function. However, the kernel is normally not defined by an explicit representation of \(\varphi\), but instead, each kernel implicitly defines a potentially infinitedimensional mapping \(\varphi\).
For a given set of data points \(x_0, \dots , x_m \in {\mathbb {X}}\), the matrix K with \(K_{ij} = k(x_i, x_j)\) for \(i, j = 0, \dots , m\), is called Gram matrix. The Gram matrix is positive semidefinite for all possible \(\{x_0, \dots , x_m\}\).
Now let \({\mathbb {G}}\) be a sequence of graphs, then a kernel \(k :{\mathbb {G}} \times {\mathbb {G}} \rightarrow {\mathbb {H}}\) is called a graph kernel.
Gaussian kernel
The most popular kernel function used in numerous kernelbased methods is the Gaussian kernel, which for two graphs G and \({\widehat{G}}\) can be defined as
where A and \({\widehat{A}}\) are the respective adjacency matrices, \(\sigma > 0\) is the bandwidth parameter, and \(\Vert \cdot \Vert\) the Frobenius norm. The Hilbert space \({\mathbb {H}}\) spanned by the Gaussian kernel is an infinitedimensional space. Furthermore, it can be shown that continuous functions on a bounded domain can be approximated arbitrarily well by (weighted sums of) Gaussian kernels. For polynomial kernels, for instance, this is not the case.
Weisfeiler–Lehman kernel
In this work, we will use a neighborhood aggregation kernel—the Weisfeiler–Lehman (WL) kernel (Shervashidze et al. 2011)—for graphs with discrete vertex labels. However, one could choose any other class of graph kernels such as graphlet kernels from Shervashidze et al. (2009) or random walk kernels from Kang et al. (2012).
We will briefly give an overview of the Weisfeiler–Lehman kernel. Let G and \({\widehat{G}}\) be graphs and \(l^{(0)}\) be a set of unique original vertex labels of G and \({\widehat{G}}\). The key idea of this kernel is to augment each vertex label by the sorted set of neighboring vertex labels, and then to compress the augmented label into some new label using a hash function f. That is, at each iteration \(h = 1, \dots\), the 1dimensional Weisfeiler–Lehman kernel computes a new set of vertex labels \(l^{(h)}\) such that
\(\forall v \in V(G) \cup V({\widehat{G}})\) and where the symbol “+” denotes the concatenation of strings, \({\mathcal {N}}(v)\) the set of neighbors of a vertex v, and \({{\,\mathrm{sorted}\,}}({\mathcal {N}}(v))\) means that vertex labels need to be sorted before concatenation. The hash function f is chosen in such a way that \(f(l^{(h)}(v)) = f(l^{(h)}(v^\prime ))\) if and only if \(l^{(h)}(v) = l^{(h)}(v^\prime )\), \(v, v^\prime \in V(G) \cup V({\widehat{G}})\). The next step is to compute a feature vector for each graph G and \({\widehat{G}}\) at each iteration h:
where \(l^{(h)} = \{l^{(h)}_0, l^{(h)}_1, \dots , l^{(h)}_{l^{(h)}}\}\) denotes the set of compressed vertex labels at iteration h and \(C^{(h)}(G, l^{(h)}_i)\) is the number of occurrences of a label \(l^{(h)}_i\) in the graph G at iteration h.
Finally, the Weisfeiler–Lehman kernel for two graphs G and \({\widehat{G}}\) is defined as:
We chose the WL kernel because it outperformed other kernels in terms of runtime in our experiments. According to Shervashidze et al. (2011), the WL subtree kernel on a pair of graphs can be computed in time O(hm), where h is the number of iterations and m the number of edges, whereas the random walk kernel (Gärtner et al. 2003) on a pair of graphs has the runtime complexity \(O(n^6)\), where n is the number of nodes. Moreover, it is also competitive in terms of accuracy with stateoftheart kernels. But, as mentioned above, one could use other graph kernels as well. The optimal choice depends strongly on the dataset.
In the next subsection, we will introduce an approach for learning the embedding of a timeevolving graph using transfer operators and graph kernels.
Method overview: graphKKE
Now, we introduce a graph kernelbased approximation method for timeevolving graphs inspired by the method proposed in Klus et al. (2018).
Since we cannot compute eigendecompositions of infinitedimensional operators numerically, typically suitable finitedimensional subspaces are considered. It was shown that the initial eigenvalue problem on \(L^2\) can be approximated by an eigenvalue problem defined on the reproducing kernel Hilbert space \({\mathbb {H}}\) utilizing only kernel evaluations.
Assume we have measurement data, given by a timeevolving graph \({\mathbb {G}} = (G_0, ...,G_{T1})\), where each \(G_t\) is a single snapshot of \({\mathbb {G}}\) at time point t and \(\widehat{{\mathbb {G}}}\) is a set of graphs mapped forward for a time lag \(\tau\), that is, \({\widehat{G}}_t = G_{t+\tau }\).
It was shown in Klus et al. (2019b) that in order to find eigenfunctions of transfer operators, we need to solve auxiliary matrix eigenvalue problems, given by
and
where \([K_{{\mathbb {G}}{\mathbb {G}}}]_{ij} = k(G_{i}, G_{j})\), \([K_{\widehat{{\mathbb {G}}}{\mathbb {G}}}]_{ij} = k({\widehat{G}}_{i}, G_{j})\) denote Gram matrices, \(k(\cdot , \cdot )\) is a graph kernel, and \(K_{{\mathbb {G}}\widehat{{\mathbb {G}}}} = K_{\widehat{{\mathbb {G}}}{\mathbb {G}}}^\top\). The equations (3) and (4) approximate the Koopman operator and Perron–Frobenius operator, respectively.
This eigenvalue problem is closely related to kernel canonical correlation analysis (kernel CCA), see Klus et al. (2019a). Kernel CCA computes eigenfunctions of the forwardbackward dynamics to identify socalled coherent sets. Coherent sets are a generalization of metastable sets and are regions of the state space that are not distorted over a certain time interval.
Additionally, in order to evaluate the eigenfunctions of these operators at a given graph, we set
if \({\tilde{\phi }}\) is the solution of the eigenvalue problem (3).
Otherwise, if \({\tilde{\phi }}\) is the solution of the eigenvalue problem (4), we set
where \(\Psi = [k(\cdot , G_0), \dots , k(\cdot , G_{T  1})]\) is called a feature matrix.
We assume that \(K_{{\mathbb {G}}{\mathbb {G}}}\) is nonsingular or otherwise we replace the inverse by its regularized version \((K_{{\mathbb {G}}{\mathbb {G}}} + \eta I)^{1}\), where \(\eta \ge 0\) is a ridge parameter. This regularization is known as Tikhonov regularization.
Furthermore, if \(k(\cdot , \cdot )\) is a graph kernel, then we apply the following normalization:
for all \(i, j = 0, \dots , T1\). The same normalization is applied to graphs in both \({\mathbb {G}}\) and \(\widehat{{\mathbb {G}}}\).
The number of states s in the timeevolving graph \({\mathbb {G}}\) is determined by the number of dominant eigenvalues close to 1. That is, if we have s dominant eigenvalues close to 1, then the timeevolving graph can be divided into s subsets \({\mathbb {G}} = {\mathbb {G}}_0 \cup \dots \cup {\mathbb {G}}_{s1}\). Moreover, all information about longterm behavior of the timeevolving graph \({\mathbb {G}}\) is contained within the eigenfunctions associated with s dominant eigenvalues close to 1. All things considered, the dominant eigenvalues can be used to determine the number of states s in the data and the dimension of a new lowdimensional space. The eigenfunctions associated with the dominant eigenvalues close to 1 are considered as a lowdimensional representation of the timeevolving graph \({\mathbb {G}}\).
Generating benchmark data with metastability
Most of the benchmark data sets such as those from chemo and bioinformatics domains, see Kersting et al. (2016), can be represented by static graphs. Thus, these datasets are not appropriate for our purposes, since they do not have time information and metastable behavior. Hence, in this section we present a model for generating timeevolving graphs with a comprehensible structure to estimate the performance of the proposed method.
In order to obtain a timeevolving graph \({\mathbb {G}}\) with metastability, we use a stochastic differential equation to generate a trajectory based on which a set of timesnapshots of the graph \({\mathbb {G}}\) is then constructed.
Let us consider a particle in a 2dimensional swell potential given by the stochastic differential equation (SDE):
with the potential
See Klus et al. (2019a) for more details. Here, s denotes the number of wells, since we assume that the number of wells defines the number of states in the timeevolving graph \({\mathbb {G}}\), the parameter \(\beta\) is the inverse temperature and \(W_t\) is a standard Wiener process. The particle stays in one of the wells for a relatively long time and then jumps to one of the neighboring wells. We consider one realization (trajectory) \({\mathcal {S}} \in {\mathbb {R}}^2\) of the stochastic process \(X = \{X_t\}_{t = 0}^{L1}\), where L is the length of the trajectory. An example of such a trajectory \({\mathcal {S}}\) is shown in Fig. 3, where the number of wells is \(s = 5\) and \(\beta = 0.05\). Before generating a timeevolving graph \({\mathbb {G}}\), we cluster all points of \({\mathcal {S}}\) using kmeans in order to obtain the ground truth labels for timesnapshots of \({\mathbb {G}}\). Every synthetic benchmark data is based on this trajectory and constructed as follows.
The construction of the timeevolving graph \({\mathbb {G}} = \{G_0, ..., G_{T1} \}\) can be described by a threestep process. In the first step, the trajectory \({\mathcal {S}} = \{(x_1^{(i)} x_2^{(i)})\}_{i = 0}^{L1}\) using SDE (5) is generated. We consider the case where the number of time points T in \({\mathbb {G}}\) is equal to the length L of S, we will then denote them both by T. In the second step, we choose the number of vertices n and assign positions \((a_j, b_j)\), \(j=0, \dots , n  1\) to each vertex \(v \in V(G_t)\) in a Cartesian coordinate system. The number of vertices n and their positions will be the same for each \(G_t \in {\mathbb {G}}\), \(t = 0, \dots , T1\). We use the uniform distribution to generate random points \((a_j, b_j)\) such that \((a_j, b_j) \sim {\mathcal {U}}_{[2, 2] \times [2, 2]}\). Finally, in the third step of the construction process, we generate temporary patterns in the structure of the timeevolving graph such that it exhibits metastable behavior in the following way. At each time point \(t \in \{0, \dots , T1\}\), we draw a circle around the point \((x_1^{(t)}, x_2^{(t)}) \in {\mathcal {S}}\) with radius r. We choose the radius r as the average of the radii of each cluster in \({\mathcal {S}}\) and r is the same for each t. Each timesnapshot \(G_t\) is first set to be a complete graph. We define temporal patterns, which characterize each state of \({\mathbb {G}}\), by removing all edges between vertices that are inside the current circle. In order to add noise to the data we also remove edges outside the circle with the outstate probability. An example of the benchmark data is shown in Fig. 4.
Experiments and results
We illustrate the efficacy of graphKKE proposed in Sect. 3.3 on the benchmark dataset and a realworld dataset with an artificial signal. We will show that our method is capable of learning the embedding of the timeevolving graph maintaining all dynamic properties in such way that it is possible to detect the metastable states in the lowdimensional space. Besides the experiments with benchmark and realworld datasets, we compare our method with several stateoftheart approaches for graph clustering.
Experiments with synthetic data
Experimental setup
In order to test the performance of the method proposed in Sect. 3 and compare the result to other baselines models, we generate the synthetic data described in Sect. 4 with different configurations of interest such as the number of vertices n, the number of time steps T, and the number of states s. The datasets are summarized in Table 1. For each dataset we set the outstate probability to 0.1. We apply graphKKE with the Weisfeiler–Lehman graph kernel with number of iterations \(h = 1\) and regularization parameter \(\eta =0.1\). In order to have ground truth labels/states of \({\mathbb {G}}\), we apply kmeans clustering to the SDE trajectory \({\mathcal {S}}\). For the Weisfeiler–Lehman kernel, the initial set of vertex labels \(l_0\) is defined to be \(\{0, 1, 2, \dots , n\}\).
Results and analysis
We visualize the result only for the 5DynG100 dataset. The eigenvalues of the Koopman operator approximated with graphKKE are shown in Fig. 5. A spectral gap after the fifth eigenvalue indicates that the timeevolving graph \({\mathbb {G}}\) contains \(s=5\) metastable states and \({\mathbb {G}} = {\mathbb {G}}_0 \cup \dots \cup {\mathbb {G}}_{4}\). Since all information about the longterm behavior of the timeevolving graph is contained within the eigenfunctions of the Koopman operator associated with s dominant eigenvalues close to 1 (in our case \(s=5\)), the embedding dimension m is defined by the number of these eigenfunctions. Thus, for 5DynG100 dataset each timesnapshot of \({\mathbb {G}}\) is embedded into a new vector space \({\mathbb {R}}^m\) with \(s=m=5\). An illustration of the embedded timeseries data \(\varphi (G)\), where \(\varphi ({\mathbb {G}}) = \sum _{i=0}^4 c_i\varphi _i({\mathbb {G}})\), is shown in Fig. 6. Here, we chose the coefficients \(c_i\) in such a way that the 5 metastable states can be easily distinguished. Now we are able to analyze the data further using its lowdimensional representation and, for example, to detect the location of metastable states or to predict the state at the next time point.
Applying kmeans to the eigenfunctions associated with the five dominant eigenvalues results in the five clusters. Since each state of the timeevolving graph is characterized by some common pattern in the topological structure, we average adjacency matrices of each state. Thus, if we have a timeevolving graph with s states \({\mathbb {G}} = {\mathbb {G}}_0 \cup \dots \cup {\mathbb {G}}_{s1}\) and \(\{{\mathbb {A}}_0, \dots , {\mathbb {A}}_{s1}\}\) is a set of corresponding subsets of adjacency matrices, then
where \(A_i^j \in {\mathbb {A}}_i, i = 0, \dots , s1\). Each average adjacency matrix \({\mathbb {A}}_i^{avg}\) is associated with the average graph \({\mathbb {G}}_i^{avg}\).
Figure 7 illustrates the graphs of each state, where vertices are colored according to their degrees of the average graph \({\mathbb {G}}_i^{avg}, i = 0, \dots , s 1\).
Our approach is capable of capturing common temporal patterns in the topological structure of the timeevolving graph with metastability. Consequently, it can learn a meaningful embedding of the timeevolving graph and preserve states in a lowdimensional space.
Experiments based on realistic data
In this experiment, we apply graphKKE to analyze a microbiome dataset, called MovingPic coming from Caporaso et al. (2011), where one male and one female were sampled daily at three body sites (gut, skin, and mouth) for 15 months and for 6 months, respectively. As a feature matrix, the OTU table \(D \in {\mathbb {N}}^{T \times p}\) is used, where T is the number of time points and p is the number of OTUs. The operational taxonomic units (OTUs) are defined as groups of closely related microbes or bacteria species.
We use the microbiome profile only from the skin and since the data does not have any perturbations such as antibiotics exposure or diseases, we add an artificial noisy signal to the data in the following way. A practical justification for adding noise to the signal is that the human microbiome might react not only to major perturbations such as diseases or antibiotics exposure but also to some shortterm daily fluctuations such as changing of lifestyle or stress. Moreover, the noise will be added to test the robustness of graphKKE. Let \(d_i= [d_i^0, d_i^2, \dots , d_i^{T1}]\) be the Tdimensional column vector of OTU counts of the ith species. OTUs with less than \(30\%\) of total reads are removed from the matrix D. We randomly choose 100 OTUs that are used to add the noisy signal. The vector of length T is constructed using a sine wave function:
and then for each \(i, i = 0, \dots , 100\), we compute new OTU counts \(d_i\),
where \(w \sim \textit{Normal}(0, 1)\) and \(\epsilon\) is the level of Gaussian noise. We set \(\epsilon\) to one of \(\{0, 0.05, 0.3\}\).
The next step is the construction of a timeevolving graph. Let \(d^t = [d^t_1, d^t_2, ..., d^t_p]\) be the pdimensional row vector of OTU counts at time point \(t, t = 0, ..., T1\). The raw OTU counts are typically normalized by the total cumulative count \(c^t = \sum _{i = 1}^{p} d_i^t\) in order to account for the different sequencing depth (Lo and Marculescu 2019). Thus, the normalization of \(d^t\) by the total cumulative count results in the relative abundance vector:
for each time point \(t, t = 0, \dots , T1\). The timesnapshots of the timeevolving graph \({\mathbb {G}} = (G_0, ..., G_{T1})\) are then constructed as follows. First of all, we compute the Pearson correlation coefficient of each pair of OTUs \((d^i, d^j)\), with \(i, j = 1, ..., p\) in order to define an initial cooccurrence graph. We choose a threshold of 0.5 such that edges with the Pearson coefficient greater than 0.5 or less than \(0.5\) are considered to be strongly correlated and remain in \(G_0\). Edges with the Pearson correlation coefficient in the range \([0.5; 0.5]\) are removed from the initial graph. Furthermore, to construct timesnapshots for each \(t = 0, \dots , T1\), we use the OTU counts. If the OTU count for the current vertex is zero, we remove edges connecting this vertex and its neighboring vertices. The statistics of the preprocessed data can be seen in Table 1.
Moreover, we define \(\widehat{{\mathbb {G}}}_t = {\mathbb {G}}_{t+\tau }\). That is, for the chosen lag time \(\tau = 1\), \({\mathbb {G}} = (G_0, \dots , G_{T2})\) and \(\widehat{{\mathbb {G}}} = (G_1, \dots , G_{T1})\). From the two timeevolving graphs \({\mathbb {G}}\) and \(\widehat{{\mathbb {G}}}\), we compute the Gram matrices \(K_{{\mathbb {G}}{\mathbb {G}}}\) and \(K_{{\mathbb {G}}\widehat{{\mathbb {G}}}}\) using the Weisfeiler–Lehman kernel, where the number of iterations is set to \(h=1\), and the regularization parameter to \(\eta =0.9\).
Results and analysis
The eigenvalues detected by graphKKE for different percentages of Gaussian noise are shown in Fig. 8. The gap after the second eigenvalue and the values of these eigenvalues close to 1 imply the presence of two states in the timeevolving graph \({\mathbb {G}}\). The spectral gap after the forth eigenvalue indicates the presence of four states but we are not aware of the biological interpretations of the second two states since the original study does not mention any potential perturbations. The experiment also shows that graphKKE is robust to the noise in the data. In order to find the location of the states, we cluster timesnapshots into two states using kmeans applied to the two normalized eigenfunctions associated with two dominant eigenvalues with the number of clusters set to 2.
The following experiment will demonstrate whether the detected states in the benchmark and the realworld datasets correspond to the ground truth labels. Moreover, we will show that graphKKE outperforms other methods for learning the embeddings of timeevolving graphs.
Comparative analysis
Experimental setup
The goal of this experiment is to compare graphKKE to several stateoftheart representation learning and graph clustering approaches using benchmark and realworld datasets. The proposed approach with two different graph kernels—Gaussian and Weisfeiler–Lehman kernels—is compared with graph2vec (Narayanan et al. 2017) and the original WL kernel (Shervashidze et al. 2011). The main idea of graph2vec is explained in Sect. 1 and the WL kernel is discussed in Sect. 3.2. Since the analysis is done for the graph clustering task, we apply kmeans to the resulting embedding vectors of every approach. The embedding dimensions of \(\{5, 64, 128, 1024\}\) were chosen for graph2vec. The hyperparameters of graphKKE were chosen empirically^{Footnote 1} and can be seen in Table 2. The choice of \(\sigma\) for the Gaussian kernel is critical for the performance of graphKKE. The optimal choice of \(\sigma\) is beyond the scope of this paper (for details see Singer (2006)). For the MovingPic dataset, the level of Gaussian noise is set to 0.05 in this experiment.
Evaluation metric
In order to assess the results of the clustering of the embedding vectors for all approaches, the Adjusted Rand Index (ARI) is used. Higher ARI corresponds to greater accuracy in correctly identifying the ground truth labels/states.
Results and analysis
The graph clustering results for all datasets using graphKKE and other stateoftheart methods are presented in Table 3 (experimental datasets). For graph2vec the embedding dimension of 5 was used as a dimension with the best ARI to compare its result with the results of other approaches. We observe that both graph2vec and WL kernel perform poorly on the benchmark and realworld datasets. One reason of the poor embedding is that these two methods do not take into account the time information which is crucial in timeevolving graphs with metastability.
Additionally, this experiment shows that the detected metastable states using the embedding of graphKKE correspond exactly to the ground truth labels. In the benchmark data, the ground truth labels are the labels of the kmeans clustering of the trajectory S. In the case of the MovingPic dataset, the ground truth labels correspond to the time period when the sine wave function of the artificial signal is zero (label 0) or greater than zero (label 1).
Application to microbiome data
Having studied the performance of graphKKE on benchmark datasets and the realworld dataset with the artificial signal, we now describe the application of our graphKKE approach to the microbiome data. Such data is more challenging than the benchmark data because the realworld data generating process is more complex and also contains noise.
Background
The microbiome data, which we will analyze in this section comes from a study about recovery from Vibrio cholerae infection (Hsiao et al. 2014). Fecal microbiota was collected during acute diarrhea and recovery periods of cholera in a cohort of seven Bangladeshi adults. In our experiments, we chose one patient, since there is variation in the constituents of the gut microbiota among individuals (Durack and Lynch 2019) and thus, it can bias the result of detecting the metastable states such as diarrhea and recovery periods. The preprocessed OTU table were obtained from Zackular et al. (2015). The aim is to determine if there are metastable states in this data and if possible, the number of metastable states and their locations.
The timeevolving graph from the given OTU table is constructed in the same way as for the MovingPic dataset using the relative abundance vector and Pearson correlation coefficients. In the realworld microbiome dataset, perturbations do not always shift OTU counts to zero. Therefore, the question how to properly construct timeevolving graphs such that both metastable behavior and associations between microbes are taken into consideration need to be considered in future work.
We apply graphKKE using the Weisfeiler–Lehman graph kernel. We set the number of iteration to 5 and the regularization parameter to 0.1.
Results and analysis
The resulting eigenvalues are shown in Fig. 9. Two dominant eigenvalues close to 1 implies that the timeevolving graph \({\mathbb {G}}\) contains two metastable states and further in the paper we will show that these two metastable states correspond to the ground truth infection/recovery periods of the dataset. Moreover, the eigenfunctions associated with these two dominant eigenvalues contain all information about the longterm behavior of the timeevolving graph \({\mathbb {G}}\) and using them as a lowdimensional representation we can further analyze the cholera dataset with the aid of timeseries methods which work with vectorstructured data. For example, one can cluster the data into two clusters, predict the state at the next time point or we can find the probability of \({\mathbb {G}}\) returning to the diarrhea state if a person continues living in this area.
We will focus on detecting metastable states utilizing the lowdimensional representation (dominant eigenfunctions). Applying a clustering method such as kmeans to the two dominant eigenfunctions, we can find the location of metastable states in \({\mathbb {G}}\). Moreover, in order to estimate whether the resulting embedding maintains the dynamics of the timeevolving graph, we will compare the metastable states, which we obtained by clustering the two dominant eigenfunctions, with the initial time periods of diarrhea and recovery. The ARI is shown in Table 3 (realworld dataset).
After clustering eigenfunctions into two states, we can compare the topological structures of timesnapshots of these states. We compute the average adjacency matrices in each state as discussed in Sect. 5.1. The result is shown in Fig. 10. We see that, depending on the state, different clusters of vertices have different degrees. This is due to the fact that the cholera infection causes marked shifts in the microbiome composition. The biological meaning of these clusters and how they are related to the healthy/ill state are open questions and need to be analyzed in future work.
This result shows that the embedding of the timeevolving graph \({\mathbb {G}}\) simplifies the analysis of graphstructured timeseries data and can be used to extract crucial properties of the graph that make the timeseries graph undergo transitions from one state to another.
Discussion and conclusion
The large variety of species and complex interactions in the microbiome makes it challenging for researchers to analyze the responses of the microbiome to different perturbations such as diseases or antibiotic exposures and its influence on the human health. However, most studies aiming at understanding these dynamics are primarily focused on statistical constitution analysis omitting more complex interactions that can be described as a timeevolving graph. One solution is to represent each timesnapshot of the timeevolving graph as a fixedlength feature vector. Many existing approaches learn the embedding either of the static graphs or of the substructures such as nodes, edges, or subgraphs, whereas for some system it is of great importance to embed the entire timesnapshots of the timeevolving graph into a lowdimensional space preserving the global temporal mechanisms such as metastability.
In this paper, we introduced an unsupervised approach (i.e., class labels of single timesnapshots are not required to learn the embedding) for learning a mapping that embeds timesnapshots of a timeevolving graph exhibiting metastable behavior as points in a lowdimensional vector space. Our experiments on synthetic benchmark and realworld data show that our approach is capable of learning a lowdimensional representation of the timeevolving graph that preserves the metastable behavior. This embedding can then be clustered in order to split individual timesnapshots of the timeevolving graph into states. Moreover, one can also analyze the dynamics occurring in the timeevolving graph (e.g., the probability of jumping from one state to another or the probability that the graph will return to one of the states) and apply different machine learning techniques. Since we are dealing with graphstructured data, which usually represents the interactions between objects, we can extract structural information pertaining to particular states. The latter is beneficial in the case of biological interactions such as microbiome data, where it is crucial to understand the differences between states (e.g., healthy/ill). To this end, experimental results have shown that our approach can outperform several stateoftheart methods for representation learning of graphs. For instance, the comparative analysis has shown that applying only Weisfeiler–Lehman kernel to the timeevolving graph is not sufficient to capture the underlying dynamical graph patterns and consequently, to detect the metastable sets.
We have shown that graph kernels are not only a powerful tool for analyzing static graphs but also for analyzing timeevolving graphs. The transfer operator approach in combination with graph kernels yields a method capable not only of extracting structural information in each timesnapshot of the timeevolving graph but also of identifying the evolution patterns, which may exist in timeevolving graphs with metastability over long periods of time.
Availability of data and materials
The realworld datasets and the code to generate the synthetic data are available online at https://github.com/kmelnyk/graphKKE/data
Notes
 1.
The combinations of hyperparameters with the biggest spectral gap were used.
Abbreviations
 ARI:

Adjusted Rand Index
 WL:

Weisfeiler–Lehman
 OTU:

Operational taxonomic unit
 SDE:

Stochastic differential equation
References
Borgwardt K, Kriegel H (2005) Shortestpath kernels on graphs. In: 5th IEEE international conference on data mining (ICDM’05), p. 8. https://doi.org/10.1109/ICDM.2005.132
Bovier A (2006) Metastability: a potential theoretic approach. In: Proceedings of the international congress of mathematicians, pp. 499–518. https://doi.org/10.4171/0223/26
Caporaso J, Lauber C, Costello E, BergLyons D, González A, Stombaugh J, Knights D, Gajer P, Ravel J, Fierer N, Gordon J, Knight R (2011) Moving pictures of the human microbiome. Genome Biol. https://doi.org/10.1186/gb2011125r50
Durack J, Lynch SV (2019) The gut microbiome: relationships with disease and opportunities for therapy. J Exp Med 216(1):20–40. https://doi.org/10.1084/jem.20180448
Gärtner T, Flach P, Wrobel S (2003) On graph kernels: hardness results and efficient alternatives. Lect Not Comput Sci. https://doi.org/10.1007/9783540451679_11
Gopalakrishnan V, Helmink B, Spencer C, Reuben A, Wargo J (2018) The influence of the gut microbiome on cancer, immunity, and cancer immunotherapy. Cancer Cell 33(4):570–580. https://doi.org/10.1016/j.ccell.2018.03.015
Goyal P, Rokka Chhetri S, Canedo A (2020) dyngraph2vec: capturing network dynamics using dynamic graph representation learning. Knowl Based Syst. https://doi.org/10.1016/j.knosys.2019.06.024
Grover A, Leskovec J (2016) Node2vec: Scalable feature learning for networks. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp. 855–864. https://doi.org/10.1145/2939672.2939754
Hjorth M, Roager H, Larsen T, Poulsen S, Licht T, Bahl M, Zohar Y, Astrup A (2018) Pretreatment microbial prevotellatobacteroides ratio, determines body fat loss success during a 6month randomized controlled diet intervention. Int J Obesity 42(3):580–583. https://doi.org/10.1038/ijo.2017.220
Hsiao A, Shamsir A, Subramanian S, Griffin N, Drewry L, Petri W, Haque R, Ahmed T, Gordon J (2014) Members of the human gut microbiota involved in recovery from vibrio cholerae infection. Nature 515:423–426. https://doi.org/10.1038/nature13738
Kang U, Tong H, Sun J (2012) Fast random walk graph kernel. In: Proceedings of the 12th SIAM international conference on data mining, SDM 2012, pp. 828–838. https://doi.org/10.1137/1.9781611972825.71
Kersting K, Kriege NM, Morris C, Mutzel P, Neumann M (2016) Benchmark data sets for graph kernels. http://graphkernels.cs.tudortmund.de
Kincaid H, Nagpal R, Yadav H (2019) Microbiomeimmunemetabolic axis in the epidemic of childhood obesity: evidence and opportunities. Obesity Rev. https://doi.org/10.1111/obr.12963
Klus S, Koltai P, Schütte C (2016) On the numerical approximation of the perronfrobenius and koopman operator. J Comput Dyn 3:51–79. https://doi.org/10.3934/jcd.2016003
Klus S, Bittracher A, Schuster I, Schütte C (2018) A kernelbased approach to molecular conformation analysis. J Chem Phys 10(1063/1):5063533
Klus S, Husic B, Mollenhauer M, Noé F (2019) Kernel methods for detecting coherent structures in dynamical data. Chaos Interdisc J Nonlinear Sci. https://doi.org/10.1063/1.5100267
Klus S, Schuster I, Muandet K (2019b) Eigendecompositions of transfer operators in reproducing kernel hilbert spaces. J Nonlinear Sci 30:283–315. https://doi.org/10.1007/s0033201909574z
Le Q, Mikolov T (2014) Distributed representations of sentences and documents. In: Proceedings of the 31st international conference on international conference on machine learning, vol 32. https://doi.org/10.5555/3044805.3045025
Lo C, Marculescu R (2019) Metann: accurate classification of host phenotypes from metagenomic data using neural networks. BMC Bioinform. https://doi.org/10.1186/s1285901928332
Menni C, Jackson M, Pallister T, Steves C, Spector T, Valdes A (2017) Gut microbiome diversity and highfibre intake are related to lower longterm weight gain. Int J Obesity 41(7):1099–1105. https://doi.org/10.1038/ijo.2017.66
Narayanan A, Mahinthan C, Venkatesan R, Chen L, Liu Y, Jaiswal S (2017) graph2vec: learning distributed representations of graphs. ArXiv arXiv:abs/1707.05005
Ou M, Cui P, Pei J, Zhang Z, Zhu W (2016) Asymmetric transitivity preserving graph embedding. In: KDD ’16: proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp. 1105–1114. https://doi.org/10.1145/2939672.2939751
Perozzi B, AlRfou R, Skiena S (2014) Deepwalk: Online learning of social representations. In: KDD ’14: Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710. https://doi.org/10.1145/2623330.2623732
Qin J, Li Y, Cai Z, Li S, Zhu J, Zhang F, Liang S, Zhang W, Guan Y, Shen D, Peng Y, Zhang D, Jie Z, Wu W, Qin Y, Xue W, Li J, Han L, Lu D, Wu P, Dai Y, Sun X, Li Z, Tang A, Zhong S, Li X, Chen W, Xu R, Wang M, Feng Q, Gong M, Yu J, Zhang Y, Zhang M, Hansen T, Sanchez G, Raes J, Falony G, Okuda S, Almeida M, LeChatelier E, Renault P, Pons N, Batto J, Zhang Z, Chen H, Yang R, Zheng W, Li S, Yang H, Wang J, Ehrlich S, Nielsen R, Pedersen O, Kristiansen K, Wang J (2012) A metagenomewide association study of gut microbiota in type 2 diabetes. Nature 490:55–60. https://doi.org/10.1038/nature11450
Shaw L, Bassam H, Barnes C, Walker A, Klein N, Balloux F (2019) Modelling microbiome recovery after antibiotics using a stability landscape framework. ISME J 13:1–12. https://doi.org/10.1038/s4139601903921
Shervashidze N, Vishwanathan S, Petri T, Mehlhorn K, Borgwardt K (2009) Efficient graphlet kernels for large graph comparison. Proc Mach Learn Res 5:488–495
Shervashidze N, Schweitzer P, Jan van Leeuwen E, Mehlhorn K, Borgwardt K (2011) Weisfeiler–Lehman graph kernels. J Mach Learn Res 12:2539–2561
Singer A (2006) From graph to manifold laplacian: the convergence rate. Appl Comput Harmonic Anal 21:128–134. https://doi.org/10.1016/j.acha.2006.03.004
SánchezAlcoholado L, RamosMolina B, Otero A, LabordaIllanes A, Ordóñez R, Medina J, GómezMillán J, QueipoOrtuño M (2020) The role of the gut microbiome in colorectal cancer development and therapy response. Cancers. https://doi.org/10.3390/cancers12061406
Wang D, Cui P, Zhu W (2016) Structural deep network embedding. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp 1225–1234. https://doi.org/10.1145/2939672.2939753
Xu R, Wang Q (2016) Towards understanding braingutmicrobiome connections in alzheimer’s disease. BMC Syst Biol. https://doi.org/10.1186/s129180160307y
Zackular J, Baxter N, Chen G, Schloss P (2015) Manipulation of the gut microbiota reveals role in colon tumorigenesis. mSphere. https://doi.org/10.1128/mSphere.0000115
Zhou L, Yang Y, Ren X, Wu F, Zhuang Y (2018) Dynamic network embedding by modeling triadic closure process. In: AAAI
Acknowledgements
Not applicable.
Funding
Open Access funding enabled and organized by Projekt DEAL. This work was supported by the German Ministry for Education and Research (BMBF) within the Berlin Big Data Center and the Berlin Center for Machine Learning (01IS14013A and 01IS18037J) and the Forschungscampus MODAL (project grant 3FO18501) and funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – The Berlin Mathematics Research Center MATH+ (EXC2046/1, project ID: 390685689).
Author information
Affiliations
Contributions
TC, SK, GM designed and supervised the research; KM performed the research and wrote the manuscript; SK, GM, TC revised and corrected the manuscript content. All authors have read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Code availability
The code of graphKKE and data preprocessing code are available at https://github.com/kmelnyk/graphKKE.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Melnyk, K., Klus, S., Montavon, G. et al. GraphKKE: graph Kernel Koopman embedding for human microbiome analysis. Appl Netw Sci 5, 96 (2020). https://doi.org/10.1007/s41109020003392
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s41109020003392
Keywords
 Timeevolving graphs
 Graph embedding
 Graph analysis
 Machine learning
 Biological networks
 Microbiology