Flexible Model-Based Joint Probabilistic Clustering Of Binary And Continuous Inputs And Its Application To Genetic Regulation And Cancer