| adjust_mean_variance | Adjust a variable to have equal mean and variance across all... |
| check_rootname | Check if files exist |
| comma | Format numbers |
| err_msg | Function for dealing with error messages when using tryCatch |
| extract_alspac_labels | extract_alspac_labels |
| extract_sum_stats | Extract summary statistics from numeric vector |
| facet_var_gen | Make facets for forest plots |
| forest_plot | Generate a forest plot |
| get_cb_palette | Get colours for plotting that are better for colour blind... |
| getmode | Extract mode from a numeric vector |
| get_residuals | Get residuals and keep original scale |
| get_zhou_recs | get_zhou_recs |
| gg.manhattan | Manhattan plot function for gwas (stolen from pcgoddard) |
| impute_matrix | Impute missing values in DNAm matrix |
| is.binary | Check if a vector is binary |
| is.monomorphic | Check if a vector is monomorphic |
| make_geno | Create a genotype or many genotypes in HWE |
| make_grm_matrix | Convert long GRM format to matrix format |
| make_phen | Create a phenotype using arbitrary number of known causal... |
| make_pretty | Format a set of numbers to have a certain number of sig figs |
| make_pretty_lm_table | Format a set of numbers to have a certain number of sig figs |
| new_load | Use the base R load function but name the object(s) being... |
| num_to_text | Convert numbers to text |
| pool_mean_sd | Pool mean and SD estimates from two groups or cohorts |
| rank_transform | Rank transform variable |
| read_bim | Read bim file |
| read_delim_rownames | Read in files with rownames using read_delim() from the readr... |
| read_fam | Read fam file |
| read_gcta_xmat | Read GCTA xmat file |
| read_grm | Read binary GCTA GRM |
| read_hsq | Read in GCTA .hsq file in long format |
| read_ldak | Read in LDAK .reml file in long format |
| read_plink_linear | Read output from plink -linear |
| read_plink_raw | Read plink raw format as exported from PLINK2 using -recode A |
| remove_outliers_iterative | Iteratively remove outliers |
| scatter.thinning | Remove points from a scatter plot where density is really... |
| summarise_glm | Extract summary stats from glm() when doing logistic... |
| summarise_lm | Extract summary stats from lm() |
| tidy_colnames | Tidy column names |
| tidy_nums | Tidy numbers |
| winsorize | Winsorize a vector |
| write_grm | Write read_grm style output back to binary GRM for use with... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.