Causal Structure and Representation Learning with Biomedical Applications