View source: R/mungesumstats_to_echolocatoR.R
| mungesumstats_to_echolocatoR | R Documentation | 
Convert column names between package-specific formats.
Optionally, can also be used to first automatically 
standardise column names by 
setting standardise_colnames=TRUE before converting to 
echolocatoR format.
mungesumstats_to_echolocatoR(dat, standardise_colnames = FALSE, verbose = TRUE)
| dat | A data.table of SNP-level summary statistics. | 
| standardise_colnames | Automatically rename all columns to a standard nomenclature using standardise_header. | 
| verbose | Print messages. | 
 
dat <- dplyr::rename(echodata::BST1, BPOS=POS, SEBETA=StdErr, B=Effect)
dat_echoR <- echodata::mungesumstats_to_echolocatoR(
    dat=dat,
    standardise_colnames=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.