Control and data analysis of complex networks