import pickle


def load_data(file):
    """Load (preprocessed) data from file."""
    with open(file, 'rb') as dr:
        X = pickle.load(dr)
        gene_names = pickle.load(dr)

    return X, gene_names