View source: R/column_dictionary.R
column_dictionary | R Documentation |
Useful in situations where you need to specify columns by index instead of name (e.g. awk queries).
column_dictionary(file_path)
file_path |
Path to full summary stats file (or any really file you want to make a column dictionary for). |
Named list of column positions.
Borrowed function from echotabix.
eduAttainOkbayPth <- system.file("extdata", "eduAttainOkbay.txt",
package = "MungeSumstats"
)
tmp <- tempfile(fileext = ".tsv")
file.copy(eduAttainOkbayPth, tmp)
cdict <- MungeSumstats:::column_dictionary(file_path = tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.