P1_UTILS

P1_UTILS#

P1_utils.calculate_concordance_correlation_coefficient(u, v)

This function calculates the concordance correlation coefficient between two input 1-D numpy arrays.

P1_utils.generalization_feature_selection(...)

This function uses the Pearson correlation coefficient to select the features that are generalizable between data1 and data2.

P1_utils.coxen_single_drug_gene_selection(...)

This function selects genes for drug response prediction using the COXEN approach.

P1_utils.coxen_multi_drug_gene_selection(...)

This function uses the COXEN approach to select genes for predicting the response of multiple drugs.

P1_utils.generate_gene_set_data(data, genes)

This function generates genomic data summarized at the gene set level.

P1_utils.design_mat(mod, ...)

P1_utils.it_sol(sdat, g_hat, d_hat, g_bar, ...)

P1_utils.aprior(gamma_hat)

P1_utils.bprior(gamma_hat)

P1_utils.postmean(g_hat, g_bar, n, d_star, t2)

P1_utils.postvar(sum2, n, a, b)

P1_utils.combat_batch_effect_removal(data, ...)

This function corrects for batch effect in data.