Volume 11 Supplement 1

## Selected articles from the 1st International Work-Conference on Bioinformatics and Biomedical Engineering-IWBBIO 2013

# A flowgraph model for bladder carcinoma

- Gregorio Rubio
^{1}Email author, - Belén García-Mora
^{1}, - Cristina Santamaría
^{1}and - José Luis Pontones
^{2}

**11(Suppl 1)**:S3

https://doi.org/10.1186/1742-4682-11-S1-S3

© Rubio et al.; licensee BioMed Central Ltd. 2014

**Published: **7 May 2014

## Abstract

### Background

Superficial bladder cancer has been the subject of numerous studies for many years, but the evolution of the disease still remains not well understood. After the tumor has been surgically removed, it may reappear at a similar level of malignancy or progress to a higher level. The process may be reasonably modeled by means of a Markov process. However, in order to more completely model the evolution of the disease, this approach is insufficient. The semi-Markov framework allows a more realistic approach, but calculations become frequently intractable. In this context, flowgraph models provide an efficient approach to successfully manage the evolution of superficial bladder carcinoma. Our aim is to test this methodology in this particular case.

### Results

We have built a successful model for a simple but representative case.

### Conclusion

The flowgraph approach is suitable for modeling of superficial bladder cancer.

### Keywords

Flowgraph model Bladder carcinoma Erlang distribution## Background

Bladder tumors are a challenge in urology. They pose an important public health problem because they are biologically very aggressive and are highly prevalent in western countries. Approximately 75-85 % of patients with newly diagnosed bladder carcinoma have non muscle-invasive bladder carcinoma (NMI-BC), which can be managed with transurethral resection (TUR). TUR is a surgical endoscope technique used to remove the macroscopic tumor from the interior of the bladder. However it has a notable tendency to recur (30-85 %) and less frequently to progress to muscle invasive stages (10-20 %). The object of this study is the NMI-BC, that makes up 70 % of the total health care cost of this disease. A review about the NMI-BC may be found in [1].

Biotechnological advances have allowed us to use different therapeutic procedures (surgery, radiotherapy, chemotherapy, immunotherapy) successfully but still many patients suffer an unfavourable outcome without control of disease. In practice urologists have a serious problem: some patients with similar characteristics undergo different evolution. Consequently, this creates a problem as to the choice of treatment to be applied. Urologists need tools to accurately predict the real evolution of the disease, that help them to improve treatment modalities and follow-up schemes of non-muscle invasive bladder cancer patients. In this regard an important contribution [2] appeared in European Urology, the official journal of the European Association of Urology. By means of looking up tables the probability of recurrence and progression for a patient is provided. However only time to first recurrence is considered, and the analysis is reduced to the Cox proportional hazards regression model. Later works have studied the model validation, finding some limitations [3].

Our team has been working with urologists from University Hospital La Fe for the last ten years. We have developed several models trying to capture different aspects of the disease evolution. Our aim for the near future is to detect the most relevant predictive factors, and also to perform an accurate model of the disease evolution. The first objective includes investigating at the genetic and molecular level, while the second one could be achieved with a suitable multistate model. While the process may be reasonably modeled by means of a Markov process, in order to more completely model the evolution of the disease this approach is insufficient. Specifically, it is possible that time spent in a state influences the future evolution of the process, i.e., it not only depends on the current state. The semi-Markov framework allows a more realistic approach, but calculations become frequently intractable. In this context, flowgraph models provide an efficient approach for the analysis of time-to-event data, since their introduction in this field a few years ago [4]. The present work is a first step in order to explore the evolution of the recurrence progression process by means of this methodology.

The paper is organized as follows: first we review a few basic concepts of survival analysis, phase-type distributions and Erlang distributions, needed to build the model. Then we present the essentials of flowgraph models and important features of our approach. The section that follows deals with a simple flowgraph model for the recurrence-progression process in NMI-BC, constructed using a database from La Fe University Hospital of Valencia (Spain). Finally, some conclusions are discussed.

## Survival analysis and phase-type distributions

### Survival analysis

Survival analysis techniques deal with the analysis of data taking times from a well-defined *time-origin* until the occurrence of some particular event or *end-point* .

To summarize survival data there are two key functions: the Survival Function and the Hazard Function. Let T be the random variable associated with the survival time (time until the ocurrence of the event).

where *F*(*t*) is the distribution function of T. It expresses the probability that an individual survives from the time origin to some time beyond *t*.

which expresses the hazard rate or the instantaneous event rate.

In survival analysis data are frequently censored [5], which means that the event of interest has not been observed. The follow-up time of those patients must be taken into account, because it informs us of the fact that the individual has been free of event until the present moment. For instance we started with 957 patients, of whom 434 underwent a recurrence, 24 a progression, and 499 had censored times, which means that at the time of their last check-up they had no recurrence or progression.

### Phase-type distributions

*F*(-) on [0, ∞) is a phase-type distribution (PH-distribution) with representation (

*α, T*) if it is the distribution of the time until absorption in a Markov process on the states {1, . . . ,

*m, m*+ 1} with generator

and initial probability vector (*α, α*_{m+1}) where *α* is a row m-vector.

*T*of order

*m*is non-singular with negative diagonal entries and non-negative off-diagonal entries,

*T*

^{0}is a column matrix with nonnegative entries, and it holds that

where *e* denotes a column vector with all components equal to one.

*F*(-) is given by

*f*(

*t*) by

Phase-type distributions are a closed class for finite mixtures, and form a class weakly dense in the class of general distributions defined on the positive real line.

*E*[

*r, λ*] has a representation (

*α, T*) as a phase-type [7]:

with *p*_{1} + *p*_{2} + *p*_{3} = 1, *p*_{
i
} > 0, *i* = 1, 2, 3.

*E*[

*r*

_{1},

*µ*

_{1}],

*E*[

*r*

_{1},

*µ*

_{1}],

*E*[

*r*

_{1},

*µ*

_{1}], with

*µ*

_{ i }> 0 and

*r*

_{ i }a positive integer,

*i*= 1, 2, 3. In the particular case with

*r*

_{1}= 1,

*r*

_{2}= 3,

*r*

_{3}= 5 the representation as phase-type distribution is (

*α, T*) where

The versatility of distributions given in (4) let have us several options to fit them to our interest distributions. The way we tried was to perform some experimental computations, considering different values of *r*_{1}, *r*_{2} and *r*_{3}. Mixture (5) was explicitly given in [8], and we found it worked very well.

## Flowgraph models

A flowgraph model is a graphical representation of a multistate model that consists of directed line segments (*branches*) connecting the states, namely, a directed graph. The branches are labeled with *transmittances*, that are the transition probability *p*_{
ij
} from state *i* to state *j* multiplied by an integral transform *G*_{
ij
}(*s*) of the transition time probability density function (PDF). This transformation can be a characteristic function (CF), a moment generating function (MGF), a Laplace transform (LT), or even an empirical transform [9][10]. Flowgraphs are used to represent semi-Markov processes, given that allowed waiting time distributions go beyond the exponential distribution directly linked to Markov processes.

- 1)
The transmittance of transitions in series is the product of the series transmittances.

- 2)
The transmittance of transitions in parallel is the sum of the parallel transmittances.

These rules are applied later in building the model.

*p*

_{ i }and

*µ*

_{ i }are calculated by minimizing

where *F*_{
ij
} is the empirical distribution for the transition ij and *G*_{
ij
} the mixture distribution for the same transition. Initial values for the minimization process are needed. In order to estimate these values (and also to decide a suitable mixture, in our case (5)-(6)) we use a non-negative least squares fit (Lawson-Hanson algorithm [13]).

*F*

_{1},

*F*

_{2}and

*F*

_{3}, and an empirical distribution

*F*we consider the system

which we fit by non-negative least squares, to compute *p*_{1}, *p*_{2} and *p*_{3}. In this way we obtain reasonable initial values for the parameters *p*_{
i
} and *µ*_{
i
}.

Once the parametric distributions have been computed, the Laplace transforms are easily calculated from (3). Then we compute the Laplace transform relevant to the transitions of interest, applying the above rules. The final step is to invert these transforms to obtain PDFs, for which we use an inversion algorithm called EULER, developed by Abate and Whitt [14].

Flowgraph models for stochastic networks were introduced by Butler and Huzurbazar [4]. An account of the theory developed up to 2005 may be found in [12]. A recent contribution proposing a prognostic model is [15].

## A flowgraph model for bladder carcinoma

### Data

The database was obtained from La Fe University Hospital of Valencia (Spain). It records clinical-pathological information from 957 patients, followed between January 1995 and January 2010. The primary tumor is a NMI-BC, which means that it is categorized as stage Ta or T1, according to the World Health Organization (WHO) TNM classification staging system [16]. After removal of the tumor by TUR, it may recur at a similar stage, which we call recurrence; or it may progress to muscle invasive stages T2, T3 or T4, which we call progression. The data record several recurrence times. This means that some patients have no recurrence at all, some have one or more recurrences, and some have progression (directly of after some recurrence). In our model we have considered progression and one recurrence. As stated above, 434 patients underwent a recurrence, 24 a progression, and 499 had censored times. Then, 63 patients were lost. From the remaining 371 patients, 17 underwent a progression, 226 a recurrence and times of the remaining 128 patients were censored. A full description of data may be found in [17].

### Flowgraph model

Our aim in this paper is to test the flowgraph methodology in this particular problem, and so we perform the simple model of Figure 1. In state 0 the patient is free of disease, after the TUR of the primary tumor. State 1 is the first recurrence, and state 2 is progression. Time is given in years.

By way of example, we are going to model the overall risk of progression. So we are interested in finding the probability distribution of time to reach state 2 for the first time starting in state 0, irrespective of the path that was taken. That is to say, the first passage distribution of going from disease free to muscle invasive stages. But the aim of a more general flowgraph model for the recurrence - progression process would be to predict the risk of recurrence or progression from any state.

*constrOptim*function, from the R Stats Package [18]. We use the euclidean norm in (7). Empirical and parametric distributions for each transition are shown in Figures 2, 3 and 4.

*p*

_{01}

*p*

_{12}+

*p*

_{02}, and we must divide the preceding

*LT*(

*s*) by this probability to obtain the true Laplace transform [12, pag. 19]

Probabilities *p*_{
ij
} are assigned from estimations based on our data. They simply consist of the ratios between the number of progressions or recurrences and the number of patients who could undergo the relevant transition. Calculations are quite sensitive to these values. We tried with the current and also previous database. The best results were obtained taking *p*_{01} = 0.3967742, *p*_{02} = 0.02507837 and *p*_{12} = 0.03252033.

All computations were made in R. Besides the mentioned packages, we also used the expm [19], Matrix [20] and survival [21] packages.

## Discussion

A parametric approach in the framework of flowgraph models involves exploring parametric models looking for the distributions that match the data better. In [12] histograms of sample waiting times are suggested. In this paper we propose a fitting procedure using mixture of Erlang distributions. Figures 2, 3 and 4 show graphically that the fitted parametric distributions match the empirical distributions very well. Figure 6 shows that parametric distribution provided by the model matches also the empirical distribution of our interest transition very well.

This is only a first step in applying the flowgraph approach to bladder carcinoma. Our aim is to incorporate covariates in a parametric model involving several recurrences and progression. Thus the doctors will have a useful tool to estimate the risk of recurrence and progression of patients according to their characteristics.

## Conclusions

These results suggest that the approach is suitable for modeling the evolution of the NMI-BC. Therefore it is justified to try to extend the model to more complex situations. Flowgraph methodology is very flexible. It allows the model to incorporate multiple recurrences, and recently also covariates [9]. Moreover non-parametric approaches are also available [10]. This versatility, along with the inclusion of molecular biomarkers, allow us to expect to get a very accurate model in a not too distant future.

## Declarations

### Acknowledgements

This study has been funded by Vicerrectorado de Investigación de la Universitat Politècnica de València. Reference 2406. The authors thank Dave Collins for his support and specially his EULER code in R, and the two anonymous referees for many helpful comments and valuable suggestions which improved the content of the paper.

**Declarations**

Publication of this article has been funded by Universitat Politècnica de València (Spain).

This article has been published as part of *Theoretical Biology and Medical Modelling* Volume 11 Supplement 1, 2014: Selected articles from the 1st International Work-Conference on Bioinformatics and Biomedical Engineering-IWBBIO 2013. The full contents of the supplement are available online at http://www.tbiomed.com/supplements/11/S1.

## Authors’ Affiliations

## References

- van Rhijn BW, Burger M, Lotan Y, Solsona E, Stief CG, Sylvester RJ, Witjes JA, Zlotta AR: Recurrence and progression of disease in non-muscle-invasive bladder cancer: from epidemiology to treatment strategy. Eur Urol. 2009, 56: 430-42. 10.1016/j.eururo.2009.06.028.View ArticlePubMedGoogle Scholar
- Sylvester RJ, van der Meijden AP, Oosterlinck W, Witjes JA, Bouffioux C, Denis L, Newling DW, Kurth K: Predicting recurrence and progression in individual patients with stage Ta T1 bladder cancer using EORTC risk tables: a combined analysis of 2596 patients from seven EORTC trials. Eur Urol. 2006, 49: 475-7.View ArticleGoogle Scholar
- Fernández-Gómez J, Madero R, Solsona E, Unda M, neiro LMP, González M, Portillo J, Ojea A, Pertusa C, Rodríguez-Molina J, Camacho J, Rabadan M, Astobieta A, Montesinos M, Isorna S, nola PM, Gimeno A, Blas M, neiro JAMP: The EORTC Tables Overestimate the Risk of Recurrence and Progression in Patients with Non-Muscle-Invasive Bladder Cancer Treated with Bacillus Calmette-Guerin: External Validation of the EORTC Risk Tables. Eur Urol. 2011, 60: 423-30. 10.1016/j.eururo.2011.05.033.View ArticlePubMedGoogle Scholar
- Butler RW, Huzurbazar AV: Stochastic network models for survival analysis. J Am Statist Assoc. 1997, 92: 246-57. 10.1080/01621459.1997.10473622.View ArticleGoogle Scholar
- Klein JP, Moeschberger ML: Suvival Analysis Techniques for Censored and Truncated Data. 2003, Springer, segundaGoogle Scholar
- Neuts MF: Matrix Geometric Solutions in Stocastic Models An Algoritmic Approach. 1981, Baltimore: The Johns Hopkins University PressGoogle Scholar
- Latouche G, Ramaswami V: Introduction to Matrix Analytic Methods in Stochastic Modeling. 1999, Philadelphia: SIAMView ArticleGoogle Scholar
- Pérez-Ocón R, Segovia MC: Modeling lifetimes using phase-type distributions. Risk, Reliability and Societal Safety, Proceedings of the European Safety and Reliability Conference 2007 (ESREL 2007). Edited by: Taylor & Francis re. 2007Google Scholar
- Huzurbazar A, Williams B: Incorporating Covariates in Flowgraph Models: Applications to Recurrent Event Data. Thecnometrics. 2010, 52: 198-208. 10.1198/TECH.2010.08044.View ArticleGoogle Scholar
- Collins DH, Huzurbazar AV: System reliability and safety assessment using non-parametric flowgraph models. Proceedings of the Institution of Mechanical Engineers, Part O: Journal of Risk and Reliability December 1, 2008 vol 222 no 4. 2008, 667-664.Google Scholar
- Huzurbazar A: Multistate Models, Flowgraph Models, and Semi-Markov Processes. Communications in Statistics - Theory and Methods. 2004, 33: 457-474. 10.1081/STA-120028678.View ArticleGoogle Scholar
- Huzurbazar A: Flowgraph Models for Multistate Time-To-Event Data. 2005, New York: WileyGoogle Scholar
- Mullen KM, van Stokkum IHM: nnls: The Lawson-Hanson algorithm for non-negative least squares (NNLS). 2012, [R package version 1.4], http://CRAN.R-project.org/package=nnlsGoogle Scholar
- Abate J, Whitt W: The Fourier-Series Method For Inverting Transforms Of Probability Distributions. Queueing Syst. 1992, 5-88.Google Scholar
- Collins DH, Huzurbazar AV: Prognostic models based on statistical flowgraphs. Appl Stochastic Models Bus Ind. 2012, 28: 141-51. 10.1002/asmb.884.View ArticleGoogle Scholar
- OMS: International Classification of Tumours. 1999, 2™, World Health Organization, Histological typing of urinary bladder tumours, Volumen 10, GenevaGoogle Scholar
- Lujan S: Modelización matemática de la multirrecidiva y heterogeneidad individual para el cálculo del riesgo biológico de recidiva y progresión del tumor vesical no músculo invasivo. PhD thesis. 2012, Universitat de ValènciaGoogle Scholar
- Team RDC: R: A Language and Environment for Statistical Computing. 2010, R Foundation for Statistical Computing, Vienna, Austria, Google Scholar
- Goulet V, Dutang C, Maechler M, Firth D, Shapira M, Stadelmann M, expm-developers@listsR-forgeR-projectorg: expm: Matrix exponential. 2011, [R package version 0.98-5], http://CRAN.R-project.org/package=expmGoogle Scholar
- Bates D, Maechler M: Matrix: Sparse and Dense Matrix Classes and Methods. 2011, R package version 1.0-1.Google Scholar
- Therneau T: survival: Survival analysis, including penalised likelihood. 2011, original Splus: R port by Thomas Lumley, [R package version 2.36-10], http://CRAN.R-project.org/package=survivalGoogle Scholar
- Jackson CH: Multi-State Models for Panel Data: The msm Package for R. Journal of Statistical Software. 2011, 38 (8): 1-29.http://www.jstatsoft.org/v38/i08/View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.