Skip to content

Commit

Permalink
adding details to the main function listing all public-facing functio…
Browse files Browse the repository at this point in the history
…n for users to use
  • Loading branch information
jeffersonfparil committed Jul 4, 2024
1 parent 762c754 commit ae83925
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
38 changes: 38 additions & 0 deletions R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,44 @@
#' - $model: best performing genomic prediction model based on within population cross-validation
#' which yielded these effects.
#' _ Err: gpError
#' @details
#' Functions list per module:
#' 1. io.R
#' 1.1. fn_G_extract_names
#' 1.2. fn_G_split_off_alternative_allele
#' 1.3. fn_G_numeric_to_non_numeric
#' 1.4. fn_G_non_numeric_to_numeric
#' 1.5. fn_G_to_vcf
#' 1.6. fn_vcf_to_G
#' 1.7. fn_classify_allele_frequencies
#' 1.8. fn_simulate_data
#' 1.9. fn_load_genotype
#' 1.10. fn_filter_genotype
#' 1.11. fn_save_genotype
#' 1.12. fn_load_phenotype
#' 1.13. fn_filter_phenotype
#' 1.14. fn_save_phenotype
#' 1.15. fn_merge_genotype_and_phenotype
#' 1.16. fn_subset_merged_genotype_and_phenotype
#' 1.17. fn_estimate_memory_footprint
#' 2. cross_validation.R
#' 2.1. fn_cv_1
#' 2.2. fn_cross_validation_preparation
#' 2.3. fn_cross_validation_within_population
#' 2.4. fn_cross_validation_across_populations_bulk
#' 2.5. fn_cross_validation_across_populations_pairwise
#' 2.6. fn_cross_validation_across_populations_lopo
#' 3. models.R
#' 3.1. fn_ols
#' 3.2. fn_ridge
#' 3.3. fn_lasso
#' 3.4. fn_elastic_net
#' 3.5. fn_Bayes_A
#' 3.6. fn_Bayes_B
#' 3.7. fn_Bayes_C
#' 3.8. fn_gBLUP
#' 4. metrics.R
#' 4.1. fn_prediction_performance_metrics
#' @examples
#' list_sim = fn_simulate_data(n=300, n_pop=3, verbose=TRUE)
#' df_pheno = read.delim(list_sim$fname_pheno_tsv, header=TRUE)
Expand Down
41 changes: 41 additions & 0 deletions man/gp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae83925

Please sign in to comment.