Subnetwork state functions define dysregulated subnetworks in cancer.