Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2023 Jan 10;19(1):e1010743. doi: 10.1371/journal.pcbi.1010743

Interspecific comparison of gene expression profiles using machine learning

Artem S Kasianov 1,#, Anna V Klepikova 1, Alexey V Mayorov 1, Gleb S Buzanov 2, Maria D Logacheva 1,3,#, Aleksey A Penin 1,*,#
Editor: Andre Kahles4
PMCID: PMC9879537  PMID: 36626392

Abstract

Interspecific gene comparisons are the keystones for many areas of biological research and are especially important for the translation of knowledge from model organisms to economically important species. Currently they are hampered by the low resolution of methods based on sequence analysis and by the complex evolutionary history of eukaryotic genes. This is especially critical for plants, whose genomes are shaped by multiple whole genome duplications and subsequent gene loss. This requires the development of new methods for comparing the functions of genes in different species. Here, we report ISEEML (Interspecific Similarity of Expression Evaluated using Machine Learning)–a novel machine learning-based algorithm for interspecific gene classification. In contrast to previous studies focused on sequence similarity, our algorithm focuses on functional similarity inferred from the comparison of gene expression profiles. We propose novel metrics for expression pattern similarity–expression score (ES)–that is suitable for species with differing morphologies. As a proof of concept, we compare detailed transcriptome maps of Arabidopsis thaliana, the model species, Zea mays (maize) and Fagopyrum esculentum (common buckwheat), which are species that represent distant clades within flowering plants. The classifier resulted in an AUC of 0.91; under the ES threshold of 0.5, the specificity was 94%, and sensitivity was 72%.

Author summary

Interspecific gene comparisons are keystone for many areas of biological research, being especially important for the translation of knowledge from model organisms to economically important species. Currently, they are based on the concept of orthology–the orthologs are assumed to have similar functions (the so called Ortholog Conjecture). This approach is problematic for two reasons: 1) the universal applicability of Ortholog Conjecture is arguable 2) the accuracy of orthology inference is complicated due to multiple whole genome duplications and subsequent gene loss–the typical processes for most eukaryotic organisms. We report a novel machine-learning-based algorithm for the interspecific gene comparison. In contrast to previous studies, which focus on sequence similarity, it focuses on the similarity of function at the organismic level approximated by the expression patterns. As source of information for the classification, we use detailed gene expression maps. Our study for the first time proposes a metrics for comparison of expression maps suitable for species with differing morphologies and/or developmental rates. Without this, the comparisons of expression maps were possible only either for closely related species with similar morphology or for very low resolution maps. In contrast, our approach is suitable for the wide range of organisms with no limitations of their morphology and the resolution of expression maps.


This is a PLOS Computational Biology Methods paper.

Introduction

Despite great progress in genome sequencing, functional characterization of genes is lagging. Most functional studies are carried out on model species, such as mice, the fruit fly, yeasts or thale cress, in the case of plants. For most other species, annotation is transferred from model organisms guided by the assumption that orthologs (genes derived from a common ancestor by a speciation event) have similar functions [1]. Thus, comparative genomic analyses are focused on the identification of orthologs [2]. The main source of information for the detection of orthologs are gene sequences (sometimes complemented by non-sequence data, e.g., gene order). Regardless of the software used to identify orthologs [3], parameters that result in a high number of true positive findings and a low number or false positives have not been identified.

This problem is most acute for plant science, because the main pattern of plant genome evolution is polyploidization followed by loss or different modes of retention of duplicated genes (for review see [4]). Lineage-specific duplications of certain groups of genes (especially ones associated with stress response and signaling systems) are also very widespread [5]. Moreover, though plants are an iconic example, many other groups of eukaryotes are also prone to gene family expansions due to either whole genome duplications or segmental duplications [6,7]. These processes lead to highly complex gene families and make the identification of a one single ortholog technically and conceptually impossible. Instead, sequence-based gene classifications divide genes into groups of co-orthologs (orthogroups). The further inference of information about the co-orthologs, in particular, the functional correspondence between them is challenging. This calls for the new types of data and approaches for interspecific gene comparisons in the context of functional genomics. Gene function and expression are tightly linked and, despite several limitations (mobile RNA, posttranscriptional and posttranslational regulation), gene expression can serve as a proxy for function. In particular, it has been shown experimentally for several model species that for duplicated genes the divergence/similarity of expression patterns is a predictor of functional divergence/similarity [8,9]. Thus, detailed gene expression maps can serve as a source of information for these novel approaches. The most widely used method for the inference of functional information from expression data is analysis of (co)expression networks (see [10] and [11]). Such networks were initially based on microarray data [12,13], but in recent years this method was replaced by RNA-seq [14,15]. These methods have provided many important insights, such as identification of a nitrogen-regulated transcription factor whose function is conserved between Arabidopsis and rice [16]. However, cases of interspecific analysis require a wealth of available functional information for both compared species (for a review of the procedure see [10,11]).

Few studies have attempted to classify genes based on expression data and to identify so-called functionally corresponding genes between species. One key study proposed the concept of “expressologs”, which are genes that have structural similarity and similar expression patterns [17]. This study focused on ranking genes by the similarity of their expression profiles according to the following procedure. Spearman’s correlation coefficient was calculated for all interspecific pairs of genes that shared structural similarity (i.e., were members of the orthogroup) and the best scoring pairs are termed expressologs. Despite its conceptual value, this approach has several limitations. First, it requires one-to-one matching of samples, which is not feasible in cases of samples with different morphologies and/or developmental rates. Second, it only allows identification of 1-to-1 interspecific pairs, whereas in fact the patterns of functional correspondence can be more complicated (e.g., two co-orthologs in one species that retain the same function as their single ortholog in the other species).

Currently, high-resolution expression maps can be easily constructed for many species using RNA-seq due to the dramatically decreased sequencing cost. Two widely used methods for the assessment of expression pattern divergence are Pearson’s correlation and Euclidean distance [1820]. However, both methods are suitable only for cases in which the compared species have highly similar morphologies and developmental rates, which is not the case for most “model species–economically important species” pairs. The importance of interspecific comparisons for efficient translation of basic knowledge into practice calls for the development of novel instruments to assess the similarity/divergence of expression profiles between species. Here, we propose a method for interspecific gene comparison to help identify functionally corresponding genes between species. This method is based on machine learning and uses two types of data (high-resolution expression data and sequence similarity). The method provides a framework for integration of functional data (transcriptomic, but the algorithm potentially can be applied to Ribo-seq data, proteomic data, etc.) with primary sequence data. This process provides a complete view of the functional correspondence between genes from different species and has potential to increase the efficiency of prediction of gene function in non-model species.

Results

Conceptualization

The basic assumption that underlies our approach is that the orthologs usually retain similar function (here and further, we mean function at the level of organism) in the course of evolution and their expression profiles have high similarity. Thus, if we consider a gene in one species (for example, the model plant Arabidopsis thaliana) and group of its co-orthologs in other species, in order to find within these co-orthologs the gene(s) that have the same function as Arabidopsis gene we need to find the gene(s) that have the expression pattern which is the most similar to that Arabidopsis gene. In order to be efficient this approach requires the high-resolution RNA-seq expression maps; they are available for a number of species (for review see e.g. [21]). From the mathematical point of view expression map is matrix of size K x m, where K is the number of genes and m is the number of samples and the elements of the matrix are read counts of a gene Ki in the sample mj. For the initial development of a pipeline we used a high-resolution transcriptome map of two plants–the model species A. thaliana [22] and a crop plant Fagopyrum esculentum (common buckwheat, [23]). The maps contain 79 and 54 samples correspondingly, each in two biological replicates. These plants represent two large and distantly related groups of flowering plants (rosids and caryophyllids correspondingly) and greatly differ in their morphology and developmental rates and are thus optimally suitable for the demonstration of the power of our approach. These two species and corresponding transcriptome maps are at the center of our study; we also performed several tests on other species and other datasets, in order to estimate the dependence on the library selection and evolutionary distance between compared species.

Construction of ISEEML pipeline: calculation of expression scores and fractionation of orthogroups

At a first stage we performed orthology analysis for the species being compared (Arabidopsis and buckwheat). This was done using Orthofinder 2.4.0 [24] and revealed 4 486 orthopairs and 5 890 orthogroups (groups of co-orthologs) that include genes from both buckwheat and Arabidopsis (S1 and S2 Tables).

After the partitioning of the gene sets into orthogroups we proceeded with the development of the classifier (hereafter called ISEEML, Interspecific Similarity of Expression Evaluated using Machine Learning). This was done using a recently developed group of algorithms based on machine learning that were highly efficient in the classification of biological data [for review see [25], in particular, XGBoost, which was successfully used for expression data [26,27]. It uses known negative and positive training sets; the output is the binary classifier, which classifies the elements of the analysed set into either the positive or negative set. We used orthopairs as the positive training set, because orthologs tend to have similar expression profiles [2830] (also see examples on S1 Fig), whereas random pairs were used as the negative set. The input for the program was the set of expression levels (read counts) for each pair of genes from two species. They are represented in a form of concatenation of vectors that correspond to the pair of genes. First vector is the string from the expression map matrix of the first species, which corresponds to the first gene within a pair, and a second vector is the string from the expression map matrix of the second species which corresponds to the second gene within a pair.

Based on these data, XGboost constructs the model for binary classification (see the Methods section “Calculation of the expression distance using machine learning” for details). The value characterizing the similarity of the expression profiles (expression score, ES) which ranges from 0 to 1, is assigned to each interspecific pair of genes. If ES>0.5 for a given pair, this pair is more similar to the orthopairs (positive training set) than to the random pairs (negative training set), and vice versa. ES values close to 0.5 are unstable and can be subliminal or supraliminal due to random factors. One of the problematic points with using orthopairs and random pairs for training is that in this case both positive and negative sets are not perfect: in the negative set there could be pairs with high similarity of expression (co-expressed genes) and vice versa, in the positive set the orthopairs with dramatically different expression patterns could be present. This calls for a special optimization for their use in training.

The inclusion of random pairs with similar expression profiles into negative set (which is unavoidable because some random pairs can be coexpressed) can influence the results of the training. In order to prevent this we performed 100 independent iterations of the training and ES calculations. A final ES value for a gene pair is the median of all values for this pair generated in the 100 iterations. The use of the classifier to calculate the ES values for the elements of the negative and positive training sets themselves is impossible, because it is based on these sets for training, and their inclusion into the analysed set will lead to biased results. To overcome this limitation, we developed a re-classification procedure using an approach of k-fold cross-validation. Briefly, the pairs from the positive and negative sets were divided into 10 subsets; nine of the 10 subsets were used as a training set, and one subset was used as an analysis set. The procedure was repeated nine times. The overview of the core ISEEML procedure is shown in Fig 1A, and the complete flowchart is provided in S2 Fig.

Fig 1. Concept of the ISEEML classifier and its main characteristics.

Fig 1

(a) Simplified overview of the ISEEML core algorithm. (b) ROC curves for the classifier based on training with orthopairs as the positive set and random pairs as the negative set (green graph) and for the classifier based on random pairs as the positive set and another set of random pairs as negative set. (c) Distribution of the XGBoost Expression Score for the orthopairs and random pairs. (d) Distribution of identities (calculated based on Needleman-Wunsch alignment) for orthopairs with ES ≥ 0,5 and ES <0.5.

The classifier described above resulted in an AUC of 0.91; under the ES threshold of 0.5, the specificity (defined as TN/TN+FP, where TN is true negative and FP is false positive) was 94%, and sensitivity was 72% (defined as TP/TP+FN, where TP is true positive, FN is false negative). In contrast, when random pairs were used as a positive training set, the classifier had an AUC close to 0.5 (Fig 1B).

Despite the high efficiency of the classifier, ~6% of gene pairs from the positive training set had an ES (calculated using the re-classification procedure described above) much less than 0.5 (i.e., they were not identified as belonging to the positive set) (Fig 1C). At the same time, their identities were not lower than those of the pairs identified as members of the positive set under reclassification procedure (see Fig 1D). Closer examination of the expression patterns of genes from such pairs demonstrated that they indeed were dramatically different (e.g., anthers in A. thaliana and roots and leaves in F. esculentum) (for an example, see S3 Fig). Such gene pairs generate noise in the positive training set. Therefore, the estimate of the sensitivity of the method is understated. The re-classification procedure reveals these pairs; however, re-training of the model using only orthopairs that have passed re-classification is impractical because of the risk of overfitting. From a functional perspective, these pairs represent a case in which orthologs have changed their biological function or the place/condition where this function is realized. Despite the common assumption that orthologs have conserved functions, experimental data show that this scenario is not always the case [31,32]. Thus, the ISEEML allows detection of such functionally diverged orthologs. Vice versa, some genes pairs that have ES similar to that of 1-to-1 orthologs do not belong to a positive set. Indeed, these genes had very similar expression profiles but are not either 1-to-1 orthologs or members of one orthogroup (coexpressed genes) (for an example, see S4 Fig). The concluding stage of the ISEEML pipeline is the fractionation of orthogroups according expression score. From the functional point of view, if we assume that the expression pattern is linked with the function, this means the separation of genes that are functionally similar between species from ones that have different functions.

In order to do this we represent the orthogroups as a bipartite graph, with genes representing the nodes of the graph and expression scores being the weights of the edges. Edges with a weight below the threshold (0.5 by default) were removed. As a result, the graph is split into several groups (expresso-groups), which represent the genes with the high similarity of expression profiles and thus presumably functionally corresponding (Fig 2A). The application of ISEEML pipeline to Arabidopsis-buckwheat orthogroups have showed that out of 32 470 genes which were the members of orthogroups 5 886 genes (~18%) are singletons based on the expression score. In other words, for a gene from one species there are no genes from other species which belong to the same orthogroup and have ES > 0.5 (Fig 2B). Under the assumption that the expression pattern are associated with function this implies the widespread change of function in the course of evolution. Previous studies on gene classification based on their expression patterns [9,17] were focused on finding interspecific gene pairs with the highest expression similarity (i.e., the one with the highest correlation coefficient or lowest distance) that could be identified as “expressologs”. However using comparative transcriptomics it is also possible to detection the cases in which several co-orthologs had conserved (or, vice versa, divergent) expression patterns. This helps to reveal cases in which two (or more) duplicate genes with a retained ancestral function or both (or more) have changed their function. A quantitative estimate provided by ISEEML showed that 67% of co-orthologs retained gene expression profiles (ES > 0.5) in cases with two co-orthologs versus 35% in cases with three co-orthologs (Fig 2C).

Fig 2. Development and testing of the ISEEML pipeline.

Fig 2

(a) Construction of expresso-groups by fractionation of the orthogroups using ES cut-offs. (b) Distribution of sizes of the orthogroups and expresso-groups. (c) Different types of fractionation of the orthogroups and their frequencies for orthogroups with two (upper panel) and three (lower panel) co-orthologs.

Considering orthopairs, we found that among 4486 orthopairs most have ES > 0.5, congruent with the previous observations on the higher similarity of expression profiles in orthologs (e.g. [33]). At the same time we found 268 orthopairs having expression score < 0.5. Given that the expression was shown to correlate with function [9] they are presumably the ones that underwent change of function. Our method allows finding and quantification of the frequency of such changes of function.

Since our pipeline relies on the results of the ortholog detection we tested its robustness under alternative orthology inference method. To do this we constructed orthogroups using Proteinortho [34]. It revealed 6 500 orthopairs and 4 117 interspecific orthogroups. Then the procedure of training and analysis outlined in Fig 1A was run using these orthogroups. This resulted in a classifier with efficiency similar to that constructed based on orthogroups inferred by OrthoFinder (AUC = 0.93, Fig 3A and 3B). The results of the classification based on Proteinortho are highly congruent with ones based on OrthoFinder (see examples for the ES > 0.5 on Fig 3C).

Fig 3. Testing ISEEML efficiency under alternative methods of orthology inference.

Fig 3

a: ROC-curve for the classifiers based the results of Proteinortho and Orthofinder. b: Precision-recall curve for the classifiers based the results of Proteinortho and Orthofinder c: Venn diagram showing the overlap between results of the classification based on Proteinortho and Orthofinder (number denote the number of pairs with predicted ES > 0.5).

We also implemented the ISEEML pipeline using an alternative approach of machine learning–the one based on neural networks–that is also frequently used for the analysis of biological data, including gene expression (e.g. [35,36]). As a positive training set we employed 4 486 orthopairs inferred by OrthoFinder. We tested two negative training sets: balanced (the number of pairs in the negative set is equal to the number of pairs in the positive) and unbalanced (5-fold, the number of pairs in the negative set is five times more than the number of pairs in the positive). The advantage of using a balanced dataset is the ease of minimizing the error function. When using balanced classes, the model behaves more stable, so this method is expected to be more accurate for a given sample size. In addition, the analysis of smaller datasets is less time-consuming. However, imbalanced sets can improve the predictive power of the model. In order to avoid overfitting we performed the augmentation by addition of a random tensor with zero mean and characteristic variance of our dataset to the current batch at each epoch. This helped to improve the efficiency of a classifier (Fig 4A). The best results were obtained with unbalanced dataset (AUC = 0.94).

Fig 4. Classifier based on neural networks.

Fig 4

a: ROC curve before (yellow) and after (blue) augmentation for the classifier based on unbalanced dataset, b: precision recall curve for the classifier based on unbalanced dataset after augmentation.

Stability of ISEEML classification: species, libraries, number of samples

The results described above were obtained on two plant species that represent two large groups within the eudicots. Their estimated divergence time is 100–120 mya [37]. In order to test the applicability of the pipeline to species with greater divergence times we analyzed two additional pairs of species: Arabidopsis and Zea mays (maize) and buckwheat and maize. In both pairs the species represent two largest groups within flowering plants–dicots and monocots correspondingly. Their estimated divergence time is 130–150 mya [3840]. We employed data from maize transcriptome atlas [41] which encompass similar set of organs and stages as Arabidopsis atlas, however with focus on root samples. This also allows testing the robustness of the classification under a varying set of libraries. For buckwheat and Arabidopsis we used transcriptome maps collected in the same controlled conditions, at the same time of the circadian cycle, libraries prepared with the same reagents etc. This could in principle affect the efficiency of classifier (artificially increasing it due to the avoidance of noise and biases introduced by environmental conditions and technical factors). The maize transcriptome atlas is much more diverse with the regard to the growing conditions (in particular, it includes samples grown in the field) and thus one may expect higher variation in the expression profiles. We inferred orthogroups for Arabidopsis–maize and buckwheat–maize genes; this resulted in 4619 1-to-1 orthopairs and 5504 orthogroups for Arabidopsis–maize and 3336 1-to-1 orthopairs and 5905 for buckwheat–maize. The training resulted in a classifier with efficiency similar to that for Arabidopsis–buckwheat pair: AUC Arabidopsis–maize = 0.95, AUC buckwheat–maize = 0.92 (see also Fig 5A and 5B).

Fig 5. Results of ISEEML classifier at different evolutionary distances.

Fig 5

(a) ROC curves for the ISEEML pipeline applied to three interspecific pairs: Arabidopsis–buckwheat, Arabidopsis–maize, buckwheat–maize. (b) Precision-recall curves for the same pairs. c: ROC curve for the ISEEML pipeline applied to the pair Arabidopsis-Arabidopsis where different sets of transcriptome samples were taken as a source of information on expression profiles. d: Precision-recall curve for the same input data as in c.

Since our approach aims at the classification of genes based on their expression patterns, the important characteristic that may influence the accuracy of classification is the breadth of expression pattern. In order to estimate the influence of this factor we selected genes with broad and narrow expression patterns and analyzed the success of classification for these two groups separately. The results showed that genes with broader expression patterns are classified better than ones with narrow pattern (S5 Fig). The effect is more pronounced for the comparisons that include maize because transcriptome map of maize includes set of samples which are less well matched with samples of Arabidopsis and buckwheat transcriptome maps than these two latter are matched between themselves (in particular maize map is focused on root development, though contains above-ground vegetative and reproductive organs as well). This is expected because if a gene is expressed in some narrow specific pattern, it may miss from the transcriptome map if the set of samples is not exhaustive.

An important question for the new method is its stability in a case with changes in the samples used for the expression analysis. To estimate the influence of sampling, we performed several tests based on the removal of samples. To select the samples for removal we used the following procedure: 1) constructed a distance tree based on expression profiles (the measure of distance is 1- Pearson correlation) 2) this tree is “cut” at different distances ranging from 0.1 to 0.9. This results in clusters where the number of samples in a cluster depends on the distance (for the least distance, 0.1, the number of clusters is maximal and for 0.9 –the largest distance–it is minimal) 3) a random sample from each cluster is retained for the analysis (see illustration for the distance 0.5 in S6 Fig and a number of samples being retained for each distance–in S3 Table) and other are removed. After the selection of samples we re-run ISEEML pipeline and compared ES values (for the pairs of genes from orthogroups) inferred from these reduced dataset with ones based on complete set. The results show high congruence of the ES for larger subsets of samples and its gradual decrease towards smaller subsets, as expected (S7 Fig).

Despite the stability of the results, the exclusion of some samples, especially ones with high number of tissue-specific genes can lead to inaccurate classification of such genes. We illustrate this with two types of samples–anthers and roots. Anthers have a specific gene expression profile that drastically differs from that of the other samples in the transcriptome maps. Roots are not photosynthetic and thus lack expression of a large fraction of the genes associated with photosynthesis, which is in contrast to above-ground axial organs, such as stems. We excluded these samples, re-run the classification and compared the ES for genes from orthogroups with ones obtained for a complete set. Most pairs had similar ES values and were classified correctly (S8 Fig). However, for some orthopairs, the classification results changed. This finding highlights that classification based on expression requires accurate sampling that reflects all organs and developmental stages, at least for tissue-specific genes.

In order to provide the upper estimate for the efficiency of a classifier we performed a test based on comparison of Arabidopsis genes against themselves–the case where functional equivalence of all genes is known with 100% reliability. We took two transcriptomic datasets–the one is a transcriptome map from Klepikova et al. 2016 [22] used in above-described analyses and the other a diverse set of publicly available RNA-seq libraries (for a full list see S4 Table). As a positive training set we used 4473 pairs of Arabidopsis genes (each pair contained the same gene listed twice, as belonging to different species) and as negative set– 4473 random pairs. As expected, this resulted in almost perfect classification (AUC = 0.99, see Fig 5C and 5D). This also highlights that the influence of noise in gene expression data introduced by the conditions, method of library preparation and sequencing and other environmental and technical factors has little influence on the performance of ISEEML pipeline.

Comparison with distance-based metrics of gene expression similarity

A common approach for estimation of expression similarity in groups of duplicated genes is the calculation of Euclidean distance [19,30,4244]. Thus we compared our results described above with that of a classifier based on Euclidean distance. The use of this metric for interspecific analysis requires matching of the samples, which is not always straightforward due to differences in morphology and developmental rate. To account for this issue, we used additional optimizations based on the grouping of transcriptome samples and the search for minimal distance within groups (see Methods for details). As expected, the distribution of distances between orthopairs and random pairs was drastically different (S9 Fig) thus indicating that it has some potential for the classification. However, these distributions overlap, and, as expected the classifier based on the Euclidean distance has a moderate AUC (0.65 for Arabidopsis–buckwheat, 0.6 for Arabidopsis–maize and 0.63 for buckwheat–maize, see S10 Fig).

Software realization of the ISEEML pipeline

The set of scripts that constitute ISEEML pipeline is available on GitHub: https://github.com/ArtemKasianov/ICML3

The software consists of three main modules:

  1. A module that provides training of models.

  2. A module that predicts expression scores for pairs of genes included in the training sample.

  3. A module that predicts expression scores for an arbitrary set of gene pairs.

As input data, the software uses sets of expression profiles for the two species being compared and a set of orthopairs. A full cycle of analysis on one thread per iteration takes about 10 minutes on average for species with no more than 30 thousand genes and no more than 200 samples in the expression profile (the calculations were performed on AMD EPYC 7452 processor).

Discussion

The advances in DNA sequencing technologies have led to an enormous increase in the number of genomes and transcriptomes being characterized in the recent years. However, the functional characterization of the genes is still lagging behind. This is especially true for plants due to the multiple whole genome duplications that are the inherent part of plants’ evolutionary history. The existence of plant genes as members of multigene families hampers both existing bioinformatics methods based on sequence similarity and experimental methods such as genome editing. Thus there is a growing interest in the development and application of approaches based on additional types of data, in particular, RNA expression profiles (e.g. [9,17,42,45,46]).

A usually used approach for interspecific comparisons of gene expression profiles is based on calculation of the Euclidean distance between expression profiles. This metrics was used for several studies on animals that are either closely related or have similar body plan, in particular, for a search of neofunctionalization in mammals [20] and in Drosophila [19]. However, the morphology, life cycles and developmental rate in eukaryotes are highly variable and, the direct matching of the samples between species (which is necessary for the calculation of Euclidean distance) is often impossible, especially at large evolutionary distances. Even under the generally conserved body plan (like, for example, in flowering plants or mammals) this is a problem due to the great variation stemming from reductions and modifications of the organs and, in some cases, to their unclear homology (see e.g. [47,48]). Our method overcomes this limitation due to the application of machine learning algorithms that do not require matching of samples.

We expect that further developments will improve the usability of the classifier. First, expansion of the species set will greatly decrease the number of singletons. A shortcoming of this method is its sensitivity to the genome assembly and annotation quality; however, this issue is the case for virtually any gene classification method. The decrease in the sequencing cost (including third-generation technologies that generate very long reads and thus are favourable for genome assembly) and improvement of bioinformatics pipelines will minimize the influence of this factor. Another important consideration is the resolution of transcriptome maps. Apparently, the classification of tissue (organ/stage/condition)-specific genes will not be accurate if the corresponding tissue is not sampled in the map. Thus in order to get the most accurate picture of the expression similarity of the organismal level, we recommend sampling of 20–90 samples (this range is taken from several recent articles on transcriptome maps [4951]) which necessarily include ones that have high fraction of specific genes (for example, brain and testis in mammals or anthers and roots in flowering plants). However, since the ES (as well as any other measures of coexpression, including interspecific coexpression) is a dataset-dependent measure, for the studies focusing on specific processes (e.g. stresses, aging) it is necessary to include in the comparison samples representing those processes.

The important advantage of the classifier is that it is suitable for analysis of publicly available data with sufficient organ and stage diversity. This method allows the analysis of big data in automatic or semiautomatic mode based on metadata and the main technical parameters (such as the % of mapped reads). In addition to application of the algorithm outlined here, our approach can be applied for the identification of coexpressed genes between species.

The complexity of gene families is one of the main factors hampering the translation of knowledge derived from model species to other ones, including agriculturally important species. The identification of functionally similar genes will allow efficient selection of candidate genes and as a result decrease the time and other resources required for the development of new cultivars.

Methods

The estimation of gene expression

As an input data we used read counts obtained by the mapping of RNA-seq data. The reads were mapped on the annotated genome using STAR [52] and counted using HTseq-count. The versions/sources of genome annotation were TAIR10 for Arabidopsis thaliana, the annotation from [23] for buckwheat and RefGene_v4 for maize. Main sources of the RNA-seq data were transcriptome maps for Arabidopsis [22], maize [41] and buckwheat [23] (the raw data are available in SRA, accession numbers and library names are listed in S5 Table). For the self-consistency test based on a comparison ArabidopsisArabidopsis we used a set of RNA-seq samples from different studies publicly available in SRA (for a list of samples see S4 Table).

The search for orthologs

For most analyses, we used orthogroups (including 1-to-1 orthologs) inferred by OrthoFinder 2.4.0 [24]. In order to test the sensitivity of our approach to the method of the identification of orthologs we also used Proteinortho v. 6.0.33 [34].

Calculation of identities

In order to provide comparison between ES and identities we calculated identity using a custom script developed based on nwalign [53], which is the realization of the Needleman-Wunsch algorithm of global pairwise alignment. The following alignment parameters were used: matrix = ’BLOSUM62.txt’, gap_open = -11, and gap_extend = -1

Calculation of the expression distance using machine learning

As input for the expression profile analysis, we used the following data:

  1. A set of 1-to-1 orthologs (orthopairs).

  2. Expression values (non-normalized read counts) for each gene in each sample. For each interspecific gene pair, a vector of expression weights was constructed. The components of this vector are the expression levels (non-normalized read counts) for all samples of the transcriptome maps.

To assess the similarity of expression profiles for interspecific gene pairs, we used two machine learning approaches. The first one, which is central in the current study is gradient boosting of decision trees. The result of processing by the classifier of an expression score vector for a pair of genes is a value ranging from 0 to 1, known here as the “expression score” (ES). An ES<0.5 corresponds to the case in which a pair of genes has different expression profiles, and an ES>0.5 corresponds to the case in which a pair of genes has similar expression profiles. ES = 0.5 indicates that the classifier cannot decide whether the profiles are similar.

For construction of a binary classifier, negative and positive training sets are required. A positive training set is a set of pairs with the most similar expression patterns possible, and a negative training set is a set of pairs with the most different expression patterns possible. For the positive set, we used orthopairs based on following assumptions: 1) orthologs have similar functions (this assumption is known as the ortholog conjecture) and 2) a gene is functional when it is expressed 3) the expression patterns can be used as a proxy for functional patterns. As the negative set, we used randomly selected pairs. The number of such random pairs was equal to the number of the pairs of the positive set; the selection was performed from a set that did not contain the elements of the positive set (orthopairs) and without replacement. For construction of the negative set we used a custom script, GetNegativeRandomSet.pl.

Obviously, direct calculation of ES for pairs that are elements of either the positive or negative set is not correct, because they are used for training of the classifier. To overcome this limitation, we developed a special re-classification procedure. First, we divided the positive and negative training sets into 10 parts using the custom script GetRandomFoldOfOrthopairs.pl. Then, 10 models were trained; to train each model, one subset each from a negative and positive set was excluded. Then, the ES was calculated for each subset using the model trained under exclusion of this subset. After this procedure, the model using the complete training sets was constructed and used to calculate the ES for all remaining interspecific pairs within each orthogroup. For the machine learning, we used XGBoost [54], which is a programme package that performs gradient boosting of decision trees. To convert the data from the positive and negative training sets to the format used by XGBoost, we developed the custom scripts GenerateSVMFile.expression.pl and GenerateSVMFile.expression.pairs.pl. To run the training and prediction with a model, we used the custom scripts XGBoostTree.saveModel.py and PredictByModelXGBoost.10.py. The XGBoost output is a model for binary classification (the classifier).

The optimal parameters were chosen based on one iteration. Within the iteration, the classifier quality was assessed during cross-validation. We used the AUC value as a criterion for the classification quality. The following parameters were tested:

  1. subsample in the range [0.7, 1] in increments of 0.1;

  2. colsample_bytree in the range [0.7, 1] in increments of 0.1; and

  3. colsample_bylevel in the range [0.7, 1] in increments of 0.1.

As a result of testing, we found that the best result was achieved under the following parameters: sabsample = 1, colsample_bytree = 1, and colsample_bylevel = 1. The change in AUC was subtle and was not more than 0.02.

For these subsample, colsample_bytree, and colsample_bylevel values, we tested the following parameters:

  1. gamma in the range [0, 10] in increments of 2;

  2. alpha in the range [0, 10] in increments of 2; and

  3. lambda in the range [0, 10] in increments of 1.

We found that the AUC value was rather stable under these parameters, because the difference was not higher than 1%. Thus, we decided to use the default parameters (alpha = 0, lambda = 1, and gamma = 0).

In summary, we used the following parameters for training (the default values for the parameters not indicated below).

  1. max_depth = 0; the maximum number of trees was selected automatically depending on the estimate of training efficiency, and

  2. scale_pos_weight = 1. Because the positive training is equal to negative at each iteration.

Algorithms that use randomization can generate different results from run to run. In this study, we use randomization for construction of a negative training set and generation of subsets of the positive and negative training sets. To overcome the possible adverse effects of random sampling, we ran 100 iterations of the algorithm (model training and ES calculation). Then, the ES values generated at each stage for each iteration were collected in a table using the GenerateTableWithAllReadCounts.pl script. For each pair, the final ES was calculated as a median (which is good, because the method is not sensitive to outliers) of the ES resulting from each iteration using the CountMediansForTableRows.pl script.

For Arabidopsis–buckwheat pair we also tested another method of machine learning, based on fully connected neural networks (NN). Fully connected NN are neural networks, each neuron of which transmits its output signal to other neurons, including itself. All input signals are provided to all neurons. The output signals of the network can be all or some of the output signals of neurons after several epochs of the network functioning. Similar to the above-described approach based on decision trees, we used 1-to-1 orthologs as positive set and random pairs as negative. We used two negative sets of various sizes–balanced (fraction = 1, number of pairs = 4472) and unbalanced (fraction = 5, number of pairs = 22360). The calculations were performed using Torch 1.12.0 with the following parameters:

params = {hidden_layers = [200,100,50,20];

  •     relu = ‘relu’;

  •     dropout = 0.1;

  •     eps = 1e-5;

  •     momentum = 1e-2;

  •     batch_size = 200;

  •     epochs = 30;

  •     learning_rate = 1e-3}

In order to avoid overfitting, we used augmentation by adding a random tensor with zero mean and characteristic variance of our dataset to the current batch at each epoch.

The fractionation of the orthogroups using expression scores

The key application of our pipeline is the fractionation of the orthogroups, i.e. the finding within the orthogroup which contains 1-to-many or many-to-many co-orthologs the pairs (or larger groups) which have similarity of expression profiles and are thus plausible functionally similar. We represented the orthogroups as graphs, where edges are connecting all possible interspecific pairs. The ES value was assigned to each edge. The threshold for ES was 0.5, which was selected based on XGBoost logic. As a result of the prediction for each example, the method returns values from 0 to 1; if the value is less than 0.5, the example is considered to belong to a negative set class; if it is greater than 0.5, the example is considered to belong to a positive set class. In our study, if the ES is less than 0.5, the pair is more similar to the random pairs than to the orthopairs, whereas the opposite is true if the ES is >0.5. Edges with ES values less than 0.5 were removed from the graph. As a result, the graph was split into several connected components. The genes that correspond to the nodes in each of the components have similar expression profiles and can be joined in a group known as an expresso-group based on analogy to the orthogroup. For identification of the components, we used an algorithm based on the depth-first search realized in the script PrintOrthogroupsAfterCutByTreshold.pl.

Calculation of Euclidean distances

In order to provide comparison with previously developed approaches for comparisions of expression profiles we calculated (pseudo-)Euclidean distance as described in Penin et al., 2019 [30]. First, for each species (A. thaliana, F. esculentum, Z. mays) read counts were normalized using median method from DESeq [55]. Then, the normalized read counts were incremented by 1. While sharing similarity, transcriptome maps of the species being compared varied in sample content reflecting plant morphology. Thus, the direct match of several samples was impossible and such samples were grouped (sample groups are provided in S6 Table; note, that not all samples were used in the analysis and sample sets for A. thalianaF. esculentum, A. thalianaZ. mays, and F esculentumZ. mays comparisons differed). In each comparison gene read counts were divided by the median of gene expression level.

Then, the pseudo-Euclidean distance was calculated for each pair of genes in the comparison (e.g. A. thalianaF. esculentum) as follows: one of the biological replicates was randomly taken for each sample of first species (e.g. A. thaliana) and second (e.g. F. esculentum);

If a sample of A. thaliana was in direct match with a sample of F. esculentum, F. esculentum median-normalized read counts were subtracted from A. thaliana median-normalized read counts, and the residual was squared.

If a group of A. thaliana samples was compared with a group of F. esculentum samples, the residuals of median-normalized read counts were counted for each pair of A. thalianaF. esculentum genes. The minimal residual was squared.

All squared residuals were summed, and a square root of the sum (a pseudo-Euclidean distance) was calculated.

The steps 1–4 were repeated 100 times to evaluate the contribution of expression variance.

Supporting information

S1 Fig. Example of the expression profiles in orthopairs. Color intensity denotes expression level.

(PDF)

S2 Fig. Complete scheme of the ISEEML pipeline.

(PDF)

S3 Fig. Example of the drastically different expression profiles in orthopairs.

Color intensity denotes expression level.

(PDF)

S4 Fig. Example of expression profiles for gene pairs from random pair set that have low identity but high expression score.

(PDF)

S5 Fig

a. ROC curves for the classification of genes with narrow and broad expression patterns b. Precision-recall curves for the classification of genes with narrow and broad expression patterns

(PDF)

S6 Fig. Example of the principle of sample selection in downsampling test. Horizontal red line denotes distance at which the tree was cut into clusters (0.5 in this example, varies from 0.1 to 0.9 in complete analysis).

Big squares of orange, yellow, green, blue and violet color denote clusters. Samples in red squares—samples randomly selected from each cluster.

(PDF)

S7 Fig. Comparison of the ES for orthopairs between ones inferred from the complete set of samples and from downsampled set.

(PDF)

S8 Fig. Comparison of the ES for orthopairs between ones inferred from the complete set and the set where some samples were removed (left–anthers excluded, right–root excluded).

(PDF)

S9 Fig. Distribution of Euclidean distances in orthopairs and random pairs (panels a, c and e show the complete range of values, b, d and f–the inset showing the distance in the range from 0 to 10.

(PDF)

S10 Fig. ROC curves for the classifier based on Euclidean distance.

(PDF)

S1 Table. Orthofinder orthopairs.

(XLSX)

S2 Table. Orthofinder orthogroups (excluding orthopairs).

(XLSX)

S3 Table. The number of samples retained for the downsampling analysis under different distances.

(XLSX)

S4 Table. List of Arabidopsis thaliana RNA-seq samples taken for self-consistency test.

(XLSX)

S5 Table. List of Arabidopsis thaliana, Fagopyrum esculentum and Zea mays RNA-seq samples from transcriptome maps.

(XLSX)

S6 Table. List of sample groups used for the calculation of Euclidean distance.

(XLSX)

Acknowledgments

We thank American Journal Experts (https://www.aje.com) for editing this manuscript, Alexandra M. Kasianova and Elizaveta M. Gunko for their assistance with the testing of ISEEML pipeline in MacOS and Dmitry D. Sokoloff for helpful discussion.

Data Availability

All relevant data are within the manuscript and its Supporting Information files and on github page of ISEEML project: https://github.com/ArtemKasianov/ICML3.

Funding Statement

This work was supported by the Russian Science Foundation, project #17-14-01315 – conceptualization (to ASK, AVK, MDL, AAP), by the Institute for Information Transmission Problems (Laboratory of Plant Genomics), project # FFNU-2022-0037 – development of ISEEML tool (to ASK, AVK, AVM, AAP), and by the Ministry of Science and Higher Education, project #075-15-2021-1064 - data analysis (to ASK, AVK, MDL, AAP). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Koonin EV. Orthologs, Paralogs, and Evolutionary Genomics. Annu Rev Genet. 2005;39: 309–338. doi: 10.1146/annurev.genet.39.073003.114725 [DOI] [PubMed] [Google Scholar]
  • 2.Tulpan D, Leger S. The Plant Orthology Browser: An Orthology and Gene-Order Visualizer for Plant Comparative Genomics. Plant Genome. 2017;10: 0. doi: 10.3835/plantgenome2016.08.0078 [DOI] [PubMed] [Google Scholar]
  • 3.Quest for Orthologs consortium, Altenhoff AM, Boeckmann B, Capella-Gutierrez S, Dalquen DA, DeLuca T, et al. Standardized benchmarking in the quest for orthologs. Nat Methods. 2016;13: 425–430. doi: 10.1038/nmeth.3830 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Birchler JA, Yang H. The multiple fates of gene duplications: Deletion, hypofunctionalization, subfunctionalization, neofunctionalization, dosage balance constraints, and neutral variation. Plant Cell. 2022;34: 2466–2474. doi: 10.1093/plcell/koac076 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Lespinet O, Wolf YI, Koonin EV, Aravind L. The Role of Lineage-Specific Gene Family Expansion in the Evolution of Eukaryotes. Genome Res. 2002;12: 1048–1059. doi: 10.1101/gr.174302 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Freitas L, Nery MF. Expansions and contractions in gene families of independently-evolved blood-feeding insects. BMC Evol Biol. 2020;20: 87. doi: 10.1186/s12862-020-01650-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Meyer A, Schloissnig S, Franchini P, Du K, Woltering JM, Irisarri I, et al. Giant lungfish genome elucidates the conquest of land by vertebrates. Nature. 2021;590: 284–289. doi: 10.1038/s41586-021-03198-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Kabir M, Wenlock S, Doig AJ, Hentges KE. The Essentiality Status of Mouse Duplicate Gene Pairs Correlates with Developmental Co-Expression Patterns. Sci Rep. 2019;9: 3224. doi: 10.1038/s41598-019-39894-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Das M, Haberer G, Panda A, Das Laha S, Ghosh TC, Schäffner AR. Expression Pattern Similarities Support the Prediction of Orthologs Retaining Common Functions after Gene Duplication Events. Plant Physiol. 2016;171: 2343–2357. doi: 10.1104/pp.15.01207 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Movahedi S, Van Bel M, Heyndrickx KS, Vandepoele K. Comparative co-expression analysis in plant biology: Comparative transcriptomics in plants. Plant Cell Environ. 2012;35: 1787–1798. doi: 10.1111/j.1365-3040.2012.02517.x [DOI] [PubMed] [Google Scholar]
  • 11.Gupta C, Pereira A. Recent advances in gene function prediction using context-specific coexpression networks in plants. F1000Research. 2019;8. doi: 10.12688/f1000research.17207.1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Chikina MD, Troyanskaya OG. Accurate Quantification of Functional Analogy among Close Homologs. Bonneau R, editor. PLoS Comput Biol. 2011;7: e1001074. doi: 10.1371/journal.pcbi.1001074 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Mutwil M, Klie S, Tohge T, Giorgi FM, Wilkins O, Campbell MM, et al. PlaNet: Combined Sequence and Expression Comparisons across Plant Networks Derived from Seven Species. Plant Cell. 2011;23: 895–910. doi: 10.1105/tpc.111.083667 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Yu H, Jiao B, Liang C. Systematic Analysis Of RNA-Seq-Based Gene Co-Expression Across Multiple Plants. bioRxiv. 2017. [cited 13 May 2019]. doi: 10.1101/139923 [DOI] [Google Scholar]
  • 15.Proost S, Mutwil M. CoNekT: an open-source framework for comparative genomic and transcriptomic network analyses. Nucleic Acids Res. 2018;46: W133–W140. doi: 10.1093/nar/gky336 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Obertello M, Shrivastava S, Katari MS, Coruzzi GM. Cross-Species Network Analysis Uncovers Conserved Nitrogen-Regulated Network Modules in Rice. Plant Physiol. 2015;168: 1830–1843. doi: 10.1104/pp.114.255877 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Patel RV, Nahal HK, Breit R, Provart NJ. BAR expressolog identification: expression profile similarity ranking of homologous genes in plant species: Expression profile similarity ranking of homologous genes. Plant J. 2012;71: 1038–1050. doi: 10.1111/j.1365-313X.2012.05055.x [DOI] [PubMed] [Google Scholar]
  • 18.Yona G, Dirks W, Rahman S, Lin DM. Effective similarity measures for expression profiles. Bioinformatics. 2006;22: 1616–1622. doi: 10.1093/bioinformatics/btl127 [DOI] [PubMed] [Google Scholar]
  • 19.Assis R, Bachtrog D. Neofunctionalization of young duplicate genes in Drosophila. Proc Natl Acad Sci. 2013;110: 17409–17414. doi: 10.1073/pnas.1313759110 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Guschanski K, Warnefors M, Kaessmann H. The evolution of duplicate gene expression in mammalian organs. Genome Res. 2017;27: 1461–1474. doi: 10.1101/gr.215566.116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Klepikova AV, Penin AA. Gene Expression Maps in Plants: Current State and Prospects. Plants. 2019;8: 309. doi: 10.3390/plants8090309 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Klepikova AV, Kasianov AS, Gerasimov ES, Logacheva MD, Penin AA. A High Resolution Map of the Arabidopsis thaliana Developmental Transcriptome Based on RNA-seq Profiling. Plant J. 2016. [cited 8 Sep 2016]. doi: 10.1111/tpj.13312 [DOI] [PubMed] [Google Scholar]
  • 23.Penin AA, Kasianov AS, Klepikova AV, Kirov IV, Gerasimov ES, Fesenko AN, et al. High-Resolution Transcriptome Atlas and Improved Genome Assembly of Common Buckwheat, Fagopyrum esculentum. Front Plant Sci. 2021;12: 612382. doi: 10.3389/fpls.2021.612382 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Emms DM, Kelly S. OrthoFinder: phylogenetic orthology inference for comparative genomics. Genome Biol. 2019;20: 238. doi: 10.1186/s13059-019-1832-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Webb S. Deep learning for biology. Nature. 2018;554: 555–557. doi: 10.1038/d41586-018-02174-z [DOI] [PubMed] [Google Scholar]
  • 26.Li W, Yin Y, Quan X, Zhang H. Gene Expression Value Prediction Based on XGBoost Algorithm. Front Genet. 2019;10: 1077. doi: 10.3389/fgene.2019.01077 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Cheng C-Y, Li Y, Varala K, Bubert J, Huang J, Kim GJ, et al. Evolutionarily informed machine learning enhances the power of predictive gene-to-phenotype relationships. Nat Commun. 2021;12: 5627. doi: 10.1038/s41467-021-25893-w [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Liao B-Y, Zhang J. Evolutionary Conservation of Expression Profiles Between Human and Mouse Orthologous Genes. Mol Biol Evol. 2006;23: 530–540. doi: 10.1093/molbev/msj054 [DOI] [PubMed] [Google Scholar]
  • 29.Kryuchkova-Mostacci N, Robinson-Rechavi M. Tissue-specificity of gene expression diverges slowly between orthologs, and rapidly between paralogs. 2016. Jul. Report No.: biorxiv;065086v2. Available: http://biorxiv.org/lookup/doi/10.1101/065086 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Penin AA, Klepikova AV, Kasianov AS, Gerasimov ES, Logacheva MD. Comparative Analysis of Developmental Transcriptome Maps of Arabidopsis thaliana and Solanum lycopersicum. Genes. 2019;10: 50. doi: 10.3390/genes10010050 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Altenhoff AM, Studer RA, Robinson-Rechavi M, Dessimoz C. Resolving the Ortholog Conjecture: Orthologs Tend to Be Weakly, but Significantly, More Similar in Function than Paralogs. Eisen JA, editor. PLoS Comput Biol. 2012;8: e1002514. doi: 10.1371/journal.pcbi.1002514 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Kramer EM, Jaramillo MA, Di Stilio VS. Patterns of gene duplication and functional evolution during the diversification of the AGAMOUS subfamily of MADS box genes in angiosperms. Genetics. 2004;166: 1011–1023. doi: 10.1534/genetics.166.2.1011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Rogozin IB, Managadze D, Shabalina SA, Koonin EV. Gene Family Level Comparative Analysis of Gene Expression in Mammals Validates the Ortholog Conjecture. Genome Biol Evol. 2014;6: 754–762. doi: 10.1093/gbe/evu051 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Lechner M, Findeiß S, Steiner L, Marz M, Stadler PF, Prohaska SJ. Proteinortho: Detection of (Co-)orthologs in large-scale analysis. BMC Bioinformatics. 2011;12: 124. doi: 10.1186/1471-2105-12-124 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Yuan Y, Bar-Joseph Z. Deep learning for inferring gene relationships from single-cell expression data. Proc Natl Acad Sci. 2019;116: 27151–27158. doi: 10.1073/pnas.1911536116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Magnusson R, Tegnér JN, Gustafsson M. Deep neural network prediction of genome-wide transcriptome signatures–beyond the Black-box. Npj Syst Biol Appl. 2022;8: 9. doi: 10.1038/s41540-022-00218-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Zeng L, Zhang N, Zhang Q, Endress PK, Huang J, Ma H. Resolution of deep eudicot phylogeny and their temporal diversification using nuclear genes from transcriptomic and genomic datasets. New Phytol. 2017;214: 1338–1354. doi: 10.1111/nph.14503 [DOI] [PubMed] [Google Scholar]
  • 38.Wolfe KH, Gouy M, Yang YW, Sharp PM, Li WH. Date of the monocot-dicot divergence estimated from chloroplast DNA sequence data. Proc Natl Acad Sci. 1989;86: 6201–6205. doi: 10.1073/pnas.86.16.6201 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Yang L, Su D, Chang X, Foster CSP, Sun L, Huang C-H, et al. Phylogenomic Insights into Deep Phylogeny of Angiosperms Based on Broad Nuclear Gene Sampling. Plant Commun. 2020;1: 100027. doi: 10.1016/j.xplc.2020.100027 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Chang C-C, Chen H-L, Li W-H, Chaw S-M. Dating the Monocot?Dicot Divergence and the Origin of Core Eudicots Using Whole Chloroplast Genomes. J Mol Evol. 2004;58: 424–441. doi: 10.1007/s00239-003-2564-9 [DOI] [PubMed] [Google Scholar]
  • 41.Stelpflug SC, Sekhon RS, Vaillancourt B, Hirsch CN, Buell CR, de Leon N, et al. An Expanded Maize Gene Expression Atlas based on RNA Sequencing and its Use to Explore Root Development. Plant Genome. 2016;9: 0. doi: 10.3835/plantgenome2015.04.0025 [DOI] [PubMed] [Google Scholar]
  • 42.Assis R, Bachtrog D. Rapid divergence and diversification of mammalian duplicate gene functions. BMC Evol Biol. 2015;15: 138. doi: 10.1186/s12862-015-0426-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Wu B, Cox MP. Greater genetic and regulatory plasticity of retained duplicates in Epichloë endophytic fungi. Mol Ecol. 2019;28: 5103–5114. doi: 10.1111/mec.15275 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Wang S. Evolution of duplicated non-coding RNAs in plants. 2018. [cited 23 Jul 2022]. doi: 10.14288/1.0357061 [DOI] [Google Scholar]
  • 45.Cardoso-Moreira M, Halbert J, Valloton D, Velten B, Chen C, Shao Y, et al. Gene expression across mammalian organ development. Nature. 2019;571: 505–509. doi: 10.1038/s41586-019-1338-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.DeGiorgio M, Assis R. Learning Retention Mechanisms and Evolutionary Parameters of Duplicate Genes from Their Expression Data. Rebekah R, editor. Mol Biol Evol. 2021;38: 1209–1224. doi: 10.1093/molbev/msaa267 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Prenner G, Box MS, Cunniff J, Rudall PJ. The Branching Stamens of Ricinus and the Homologies of the Angiosperm Stamen Fascicle. Int J Plant Sci. 2008;169: 735–744. doi: 10.1086/588071 [DOI] [Google Scholar]
  • 48.Koi S, Won H, Kato M. Two new genera of Podostemaceae from northern Central Laos: saltational evolution and enigmatic morphology. J Plant Res. 2019;132: 19–31. doi: 10.1007/s10265-018-01082-7 [DOI] [PubMed] [Google Scholar]
  • 49.Clark EL, Bush SJ, McCulloch MEB, Farquhar IL, Young R, Lefevre L, et al. A high resolution atlas of gene expression in the domestic sheep (Ovis aries). Kijas J, editor. PLOS Genet. 2017;13: e1006997. doi: 10.1371/journal.pgen.1006997 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Sohn J, Nam K, Hong H, Kim J-M, Lim D, Lee K-T, et al. Whole genome and transcriptome maps of the entirely black native Korean chicken breed Yeonsan Ogye. GigaScience. 2018;7. doi: 10.1093/gigascience/giy086 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.McCormick RF, Truong SK, Sreedasyam A, Jenkins J, Shu S, Sims D, et al. The Sorghum bicolor reference genome: improved assembly, gene annotations, a transcriptome atlas, and signatures of genome organization. Plant J. 2018;93: 338–354. doi: 10.1111/tpj.13781 [DOI] [PubMed] [Google Scholar]
  • 52.Dobin A, Davis CA, Schlesinger F, Drenkow J, Zaleski C, Jha S, et al. STAR: ultrafast universal RNA-seq aligner. Bioinforma Oxf Engl. 2013;29: 15–21. doi: 10.1093/bioinformatics/bts635 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Zhang Y. NW-aling. In: Zhang Lab; [Internet]. 23 Jul 2022. Available: http://zhanglab.dcmb.med.umich.edu/NW-align [Google Scholar]
  • 54.Chen T, Guestrin C. XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining—KDD ‘16. San Francisco, California, USA: ACM Press; 2016. pp. 785–794. doi: 10.1145/2939672.2939785 [DOI]
  • 55.Anders S, Huber W. Differential expression analysis for sequence count data. Genome Biol. 2010;11: R106. doi: 10.1186/gb-2010-11-10-r106 [DOI] [PMC free article] [PubMed] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010743.r001

Decision Letter 0

Ilya Ioshikhes, andre kahles

21 Feb 2022

Dear Dr Penin,

Thank you very much for submitting your manuscript "Interspecies gene classifier based on the analysis of RNA-seq data using machine learning" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Andre Kahles, PhD

Guest Editor

PLOS Computational Biology

Ilya Ioshikhes

Deputy Editor

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Kasianov et al. describe a method to find what they call "expresso-groups" of genes and apply it to a pair of plant species. At the core is a tree-based binary classifier of gene pairs into expressologs and non-expressologs. It takes the vectors of unnormalized read counts in a number of libraries for each species as input and outputs an "ES" probability. The classifier is trained to reproduce orthologous pairs found with OrthoFinder. Their program ICML can predict orthology with reasonable accuracy using not sequence but expression profiles. I see a potential high relevance in complementing orthology search and for discovering interesting cases where the expression profile changed much but the sequence not or vice versa. Very importantly, the approach works on count matrices of shape g x n and G x m, where g and G are the numbers of genes in the two species, n and m are the numbers of RNA-Seq libraries from the two species and no meta information on the libraries is required (e.g. tissue types or conditions). The main difference to related previous work is that no correspondence between libraries is required and therefore n != m is allowed.

The approach is genuine, generally applicable and of potentially broad interest. However, the manuscript requires more details and an improved readability. The differences between orthology and "expressology" have not been examined much and neither has the dependence on the library selection or evolutionary distance. The description of the ML method plays a minor role.

I found the title misleading as a gene classifier could for example find functional classes. Instead the authors present a way to learn the similarity of expression profiles of gene pairs.

"PLOS Computational Biology requires authors to make all author-generated code directly related to their study’s findings publicly available" and "authors must clearly provide detail, data, code, and software to ensure readers' ability to reproduce the models".

However, the ICML3 repository contains binary files (makemodel and predictAllByPortion) which appear to have the main functionality but it is not documented where they come from or for which platform they were compiled on. Also, several scripts mentioned in the manuscript are not in the repository, e.g. XGBoostTree.saveModel.py and PrintOrthogroupsAfterCutByTreshold.pl. Please make your source codes available. Please also state the program and version of XGboost you used and give a link to the repository.

The method is not described carefully and thoroughly. It becomes only clear very late what the authors have done, e.g. they perform a binary classification of pairs of integer-valued vectors of sizes n and m. The description should be more formal, e.g. what kind of mathematical object is an expression map? Please mention early the size of n and m in your test data. Of what shape is the input to your classification trees?

In contrast to the protein sequences, the expression profiles are random (technical variation, biological variation, choice of tissue, age and conditions, no clear correspondence of samples) and may overall be insufficient to decide which genes are corresponding functionally, e.g. when the sampled libraries are not sufficient to discriminate between functions. High variation in the predicted orthology pairs could render the orthology-finding resuls largely irreproducible.

A plausibility test in which the functional equivalence of all genes is known 100% would be to compare A. thaliana against itself. Only, the expression profiles would be calculated using different RNA-seq libraries. There are plenty of libraries is SRA to draw samples from. Further, a sample of a few pairs of species would give a better impression of the impact of the randomness that is additionaly introduced compared to a sequence based method.

ICML requires that one runs orthology-finding to obtain a training set. Moreover, if ICML achieved perfect accuracy it would render itself superfluous. It is therefore important to show that the disagreements between the ortho- and expressologs are not merely classification errors but have a biological meaning. This could for example be done for cases where one has a (partial) correspondence between libraries and can compare expression profiles with established methods.

In line 177, the authors imply that certain differences between ortho- and expresso-groups are due to neofunctionalization. This hypothesis is not supported by evidence. E.g.~it could be that a pair of samples from the two species can mostly be matched up well as they are from the same tissue, but one sample is perhaps under a certain condition that changes the expression level of a few genes only. A low ES score could merely be a misclassification error. Perhaps this error probability could be bounded with above plausibility test.

Can you please discuss why the large expresso-groups ("orthgroups") seem to include only 1 gene from one species and very many from the other species? It would suprise me if many gene families had several dozen genes of the same function in one plant but are single-copy in another plant. Could these be similarly regulated genes that have very different functions?

A discussion would be helpful on the influence you expect on the selection of samples, e.g. when you mainly have samples from xylem sap of one plant and mainly have samples from root from the other.

Have the authors tried another ML method? Why have they chosen trees?

Minor Issues:

- typo in abstract: or -> of

- ES is used in the abstract before it is defined.

- Line 120. I suggest to not use "classification" in that sense as readers of a paper with ML in the title will think of the usual meaning.

- Line 131. "set of expression levels" - is the _vector_ of expression levels meant?

- The caption of Figure 1 seems to be messed up as b) is a ROC curve, not a model.

- Line 159. "identities" - state that this refers to a NW-Alignment.

- In Figure 1e one cannot see how much the scatterplot is concentrated around the diagonal, as the dots overlap much. What is the correlation coefficient?

- Line 185. oa -> of

- Grammar error in Figure 2a

- There is neither a caption nor a reference to Figure 2d.

- Line 218. Why would the thresholding and collection of connected components not work on the basis of correlation coefficients in place of ES?

- Line 241. What is 'stream'?

- Line 246. Grammar error (plural singular mismatch).

- Wrong indentation after line 284.

- Give a reference for nwalign.

- Line 304: What are the weights you are referring to?

- The parameters in line 335 ff are not introduced.

- Line 165: From Figure 1b one cannot see the accuracy at a certain threshold. From Figure 1c) it looks like at the ES threshold of 0.5 the sensitivity should be >0.9 and the specificity is lower. Please give the formula and define what you refer to as specificity.

Reviewer #2: The authors suggest a machine learning approach to refine orthology assignment for a pair of genes based on their expression pattern. The method assigns for each candidate pair an expression score. This score reflects the similarity of the expression pattern among the group of orthologous pairs compared to that of random pairs. The idea behind this method is very nice and shown to be potentially useful for refining orthology assignment, which is, traditionally, based on sequence identity.

Major

1. My main concern is about the generality and applicability of the suggested method to other species. As the method is based solely on expression patterns, a major issue is how sensitive the results are to the quality of the data and its availability. There is a strong assumption that orthologous genes have similar expression patterns while it is unclear from this study how much it depends on:

a. The evolutionary distance of the compared species

b. The number of samples required to construct an informative and representative expression pattern

c. Should both species have expression patterns from similar tissues/organs? Same developmental stage? Similar environmental conditions?

I think that the sensitivity of the results should be rigorously tested also given these issues. For example, the authors show that the correlation scores with and without specific samples are still high (but do not quantify it). I would also like to see some analyses demonstrating, for example, how sensitive are the results to the number of samples used. In the current manuscript, the authors only state one sentence about this issue: “This finding shows that classification based on expression requires accurate sampling that reflects all organs and developmental stages.” I think these analyses should be expanded. In addition, Could the authors evaluate their method also for different species with varying evolutionary distances?

From a practical point of view, it would be nice if the authors could address how realistic the method is for non-model species. Could the authors suggest rules-of-thumb for the minimal requirements for the method to be applicable?

2. Does the method explicitly account for the sequence similarity of the given candidate pair? It is not clear from the text, but it seems not? Would including this information as an additional feature improve the classification?

3. Concerning the previous point, I think a comparison of the suggested method with the classical reciprocal-best-hit (RBH) is missing. How much do we gain/lose from the new method compared to relying solely on sequence similarity or RBH. What is the correlation between the ES and the similarity/bit scores? I assume some of the FN (low ES scores) have high sequence similarity, is it just the 6% mentioned in the text?

4. As far as I understand, the method is designed to determine the 1:1 orthology relationship for a pair of candidate genes. Could it also be scaled to more than a pair of species? I think this would be critical for the current pan-genomic era. I think it should be further discussed.

5. From a practical point of view, since the model needs to be trained specifically for the species under study, could the authors provide some general measures for the quality of the model? In addition, it is unclear how much the hyperparameters used for learning are applicable for a new dataset. More specifically: how many iterations should be used? What should be the ratio between the positive and negative set etc? Could this process be done automatically as part of the provided code? It currently seems that the method cannot be used out of the box with a new dataset. I’ll be happy for some clarification and think a detailed protocol/tutorial could greatly enhance the applicability of the suggested method for other species.

Minor

1. ES threshold is mentioned in the abstract but defined only much later in the text, please rephrase or better explain.

2. Could the authors better define and detail “a high-resolution transcriptome map”.

3. Are the AUC values reported based on the cross-validation average? Was part of the data used solely for training and another one for testing as commonly done in machine learning approaches?

4. I suggest the authors would use the precision-recall measure as it is less biased for unbalanced datasets (in this case ~4K positive to 1M negative) (https://www.biostat.wisc.edu/~page/rocpr.pdf)

5. What are the correlation values for Fig 1E?

6. The authors suggest that ‘true’ orthopairs with low ES scores exemplify neofunctionalization events. It is not necessarily the case as it could reflect genes active in different environmental conditions / developmental stages etc. Accounting also for the sequence identity could potentially shade more light on this issue.

7. What are the exact datasets used for this study? Which expression datasets were used for each species? Are they publicly available?

8. Figure 2D legend is missing and not referred to from the main text

9. Why do the authors take the non-normalized read count as a feature? Wouldn’t the normalized count remove some of the biases in each dataset? Does it matter?

10. Which version of OrthoFinder was used?

Reviewer #3: In this manuscript, Kasianov et al. present a method to classify orthologs according to the similarity of their expression profiles. For this, they apply machine learning to expression counts and sequence similarity of genes which are already defined as orthologs (including many-to-many) between two species.

While the aim of the manuscript is of interest, I have several major comments:

While the aim of the method is to discover genes with the same function, the concept of function is never defined in the context of this work.

This manuscript takes as fact that expression is a good and sufficient proxy for function (although the ML does also use sequence similarity, this is never discussed), but there is only one reference given to support this, from a study which validated only 8 genes.

These two points affect all sentences with statements about function. Notably, lines 199-200 and 209, functional similarity or difference have not been shown.

There are several statements comparing this method to others in principle, but it is very surprising for a methods paper to present no comparison to results from other methods. This is absolutely needed, with an exploration of sensitivity to potential confounding factors (e.g. genome annotation, evolutionary distance, quantity of RNA-seq data).

The authors cite as a shortcoming of other methods that they need to be applied to species similar enough to match samples, but the only application given is to two land plants. It would be more convincing to show that genes of similar function could be found between a plant and e.g. a yeast or a fly.

If "the algorithm can be applied to Ribo-seq data, proteomic data, etc." please show evidence for this, by running the method on such data and obtaining relevant results.

Similarly, the method would be more convincing if the authors would show application to more than two species.

The use of results from a single orthology method as input is a potential major weakness of the approach. The authors should test the sensitivity to different orthology methods. Moreover, they explain that orthology methods all have shortcomings, but then they use one of them as input, so it isn't clear how this new approach will help.

The training of the machine learning is very limited. On the one hand are orthologs which are assumed to have similar expression (whereas in other parts of the manuscript this is presented as a hypothesis to test). On the other hand are random pairs which are not matched in any way: not by gene length, not by level of expression, not by GC content, etc. It is trivial that with this approach the orthologs will be way more similar than the random pairs.

I was shocked to find that the code on Github is hard coded for the two species studied here, e.g.:

my $currAthNam = $athList[$athIndex];

my $currFescNam = $fescList[$fescIndex];

Why are read counts not normalized? This is going to leave a large effect of gene length, since longer genes will have more reads for the same level of expression.

Why use "an approach similar to cross-validation" rather than cross-validation?

How are alternative transcripts of the same gene treated for read counting?

How is the method sensitive to the specificity (e.g. tissue-specificity) of expression of genes? Is it better or worse at classifying broadly expressed genes?

Several references, when checked, do not say what they are cited to say. This is worrying, as I didn't check all references.

- ref 19 isn't a test of method efficiency, but a general public review.

- ref 20 used XGBoost for "Natural language processing of text from GEO series" in a paper on crowd-sourcing, not expression data.

- ref 21 doesn't have any reference to XGBoost nor to machine learning as far as I could tell (rapid scan and search for terms in the full text).

- refs 11,28 aren't wrongly cited, but being from 2012 and 2016 cannot be used line 253 to show "growing interest".

I would like to see a reference for the statement lines 257-258 that plants are more diverse in morphology than animals, and thus matching of samples is more difficult. The Plant Ontology is certainly much simpler than Uberon (bilaterian animals), and my experience runs contrary to the statement of the authors.

Minor comments:

line 78-79: what justifies the remark about regulatory genes?

This does not prevent the influence of random fluctuations, it mitigates it; to control for random factors, you can fix the seed for random generators: "To prevent the influence of random fluctuations on the algorithm output, we performed 100 independent iterations of the training and ES calculations"

line 178 "neofunctionalisation" is usually defined between paralogs, not between orthologs.

line 230: either there broad similarity of function among orthopairs, or "widespread inconsistency", but not both.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No: Code not fully available. See comments to authors.

Reviewer #2: No: I could not find what are the exact datasets used for this study. Specifically, which expression datasets were used for each species?

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010743.r003

Decision Letter 1

Ilya Ioshikhes, andre kahles

30 Aug 2022

Dear Dr Penin,

Thank you very much for submitting your manuscript "Interspecies gene classifier based on the analysis of RNA-seq data using machine learning" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations.

Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Andre Kahles, PhD

Guest Editor

PLOS Computational Biology

Ilya Ioshikhes

Section Editor

PLOS Computational Biology

***********************

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

[LINK]

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Kasianov et al have done substantial revisions and new experiments:

- They applied a second sequence-based orthology finder (ProteinOrtho).

- The performed the analysis on more pairs of species: Arabidopsis - maize, buckwheat - maize, Arabidopsis - Arabidopsis,

- They applied another ML method (neural networks with custom regularization)

- They introduced a comparison with Euclidean-distance-based method.

The previously missing parts of the code are now included in the repository.

I only have minor issues below that the authors can be trusted to address without another review.

line 68: These processes [...] makes [...] impossible. => These processes [...] make [...] impossible.

line 158: "input for the algorithm", "First vector is the string". Does the ALGORITHM really use the string rather than the numbers?

I suspect not, although the input to the PROGRAM may be a string representation of numbers, naturally.

line 167: grammar

line 258: We also implemented ICML pipeline => We also implemented the ICML pipeline

line 295: we selected the genes with broad an narrow => we selected genes with broad and narrow

Reviewer #3: In this revision the authors have made many changes and replied to all comments. The manuscript is much improved, and the specific aims of the method are now much clearer.

I still have some comments though.

Major comments:

I was unable to run the method, because the executables from C source did not execute on MacOS, and compilation with gcc gave too many error messages. I could probably fix this, but it is the responsability of the authors to please provide software which functions across platforms.

The authors write several times in the replies to reviewers that the input samples should cover a wide range of conditions, and that they should be from species with sufficient similarity, but this is never clearly defined. The authors should provide specific guidance on the conditions under which their method is expected to work.

Related, please remove the claim page 19 that the method removes the limitation of comparing similar species, since similar body plans are needed, and the plants compared are not more distant than the divergence among mammals.

In the text the authors still mention sub and neo-functionalisation several times, whereas their method does not allow to test such outcomes. I suggest removing all such mentions. Similarly, line 66, genes can be retained by not neo or sub-functionalised (e.g. selection for dosage), please remove this.

Minor comments:

The authors write several times "model object" where I think they mean "model species".

line 85 should be "in recent years this approach was replaced by RNA-seq".

line 251 "the orthologization" should be "the ortholog detection".

line 280 "detalization" doesn't exist, do you mean "higher detail"?

line 303, "is" should be "if" at the end of the line.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Mario Stanke

Reviewer #3: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

 

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

References:

Review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript.

If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010743.r005

Decision Letter 2

Ilya Ioshikhes

16 Nov 2022

Dear Dr Penin,

We are pleased to inform you that your manuscript 'Interspecific comparison of gene expression profiles using machine learning.' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Ilya Ioshikhes

Section Editor

PLOS Computational Biology

***********************************************************

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010743.r006

Acceptance letter

Ilya Ioshikhes

5 Jan 2023

PCOMPBIOL-D-21-02191R2

Interspecific comparison of gene expression profiles using machine learning.

Dear Dr Penin,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Bernadett Koltai

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Example of the expression profiles in orthopairs. Color intensity denotes expression level.

    (PDF)

    S2 Fig. Complete scheme of the ISEEML pipeline.

    (PDF)

    S3 Fig. Example of the drastically different expression profiles in orthopairs.

    Color intensity denotes expression level.

    (PDF)

    S4 Fig. Example of expression profiles for gene pairs from random pair set that have low identity but high expression score.

    (PDF)

    S5 Fig

    a. ROC curves for the classification of genes with narrow and broad expression patterns b. Precision-recall curves for the classification of genes with narrow and broad expression patterns

    (PDF)

    S6 Fig. Example of the principle of sample selection in downsampling test. Horizontal red line denotes distance at which the tree was cut into clusters (0.5 in this example, varies from 0.1 to 0.9 in complete analysis).

    Big squares of orange, yellow, green, blue and violet color denote clusters. Samples in red squares—samples randomly selected from each cluster.

    (PDF)

    S7 Fig. Comparison of the ES for orthopairs between ones inferred from the complete set of samples and from downsampled set.

    (PDF)

    S8 Fig. Comparison of the ES for orthopairs between ones inferred from the complete set and the set where some samples were removed (left–anthers excluded, right–root excluded).

    (PDF)

    S9 Fig. Distribution of Euclidean distances in orthopairs and random pairs (panels a, c and e show the complete range of values, b, d and f–the inset showing the distance in the range from 0 to 10.

    (PDF)

    S10 Fig. ROC curves for the classifier based on Euclidean distance.

    (PDF)

    S1 Table. Orthofinder orthopairs.

    (XLSX)

    S2 Table. Orthofinder orthogroups (excluding orthopairs).

    (XLSX)

    S3 Table. The number of samples retained for the downsampling analysis under different distances.

    (XLSX)

    S4 Table. List of Arabidopsis thaliana RNA-seq samples taken for self-consistency test.

    (XLSX)

    S5 Table. List of Arabidopsis thaliana, Fagopyrum esculentum and Zea mays RNA-seq samples from transcriptome maps.

    (XLSX)

    S6 Table. List of sample groups used for the calculation of Euclidean distance.

    (XLSX)

    Attachment

    Submitted filename: Response to Reviewers.pdf

    Attachment

    Submitted filename: Response to Reviewers.docx

    Data Availability Statement

    All relevant data are within the manuscript and its Supporting Information files and on github page of ISEEML project: https://github.com/ArtemKasianov/ICML3.


    Articles from PLOS Computational Biology are provided here courtesy of PLOS

    RESOURCES