Man pages for rivas-lab/snpnet
snpnet: Efficient Lasso Solver for Large SNP Data

cat_or_zcatselect zstdcat, zcat, or cat
compose_regression_formula_strCompose a regression formula give a response variable and the...
compute_matrix_productTake a matrix product of data matrix (X_df) and coefficient...
config_params_data_typeThis is a helper function for read_config_from_file(). Here,...
count_n_per_splitCount the number of individuals in each popluation split
eval_AUC_CICompute AUC with confidence interval.
eval_CICompute R-squared or AUC with confidence interval.
eval_r2_CICompute R-squared with confidence interval.
FID_IID_from_rownamesRecover FID and IID from rownames of the data frame
FID_IID_to_rownamesAssign rownames of phenotype data frame based on FID and IID
fit_glmA wrapper function for glm()
fit_glm_across_splitsFit a specified regression model for each split independently...
fit_to_dfconvert the fit object to a data frame
get_ID_ALTsGet ID_ALT of genetic variants
glm_fit_to_r2Get r-squared value from glm fit object
parse_covariatesParse a string containing the set of covariates.
plot_PRS_binomialgenerate Violin plot comparing the distribution of PRSs...
plot_PRS_vs_phegenerate a 2d heatmap plot comparing the PRS (Z-score if...
predict_snpnetPredict from the Fitted Object or File
read_config_from_fileRead a configuration from a file
read_lambda_sequence_from_RData_fileLoad a lambda sequence from a R Data file
readPheMasterRead covariates and phenotype(s) from the provided file path
read_phenotype_fileRead a phenotype file as a data frame
read_sscore_fileRead a PRS file as a data frame
recode_pheno_valuesRecode phenotype values
save_BETAsave the regression coefficients (betas) into file(s).
snpnetFit the Lasso/Elastic-Net for Large Phenotype-Genotype...
snpnet_fit_to_dfconvert the snpnet regression coeffieicnets (betas) into a...
split_list_strsplit a list string into a list
split_named_list_strsplit a list string into a named list
update_split_column_for_refitCollapse the training (train) and validation (val) sets into...
rivas-lab/snpnet documentation built on Dec. 14, 2021, 3:22 a.m.