makeNetworks function

Computes gene regulatory networks for subsamples of cells based on principal component regression.