Identification of discriminative gene-level and protein-level features associated with pathogenic gain-of-function and loss-of-function variants.