Statistical Modeling and Inference in Biological Data: From Brain Networks to Virus Heterogeneity