Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update header mappings #168

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: MungeSumstats
Type: Package
Title: Standardise summary statistics from GWAS
Version: 1.9.17
Version: 1.9.18
Authors@R:
c(person(given = "Alan",
family = "Murphy",
Expand Down
32 changes: 32 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## CHANGES IN VERSION 1.9.18

### New column header mappings
* "VARIANT_ID" and "RSIDS" --> "SNP"
* "P_BOLT_LMM" --> "P"
* "NCASES" --> "N_CAS"
* "N_EFFECTIVE", "N_INFORMATIVE", and "TOTAL_N" --> "N"
* "HET_P" --> "HETPVAL"
* "HET_ISQ" --> "HETISQT"
* "ALL_AF" --> "FRQ"
* "DIRECT" --> "DIRECTION"
* "ALT_EFFSIZE" --> "BETA"
* "INFORMATIVE_ALT_AC" --> "AC"

### Fixed column header mappings
* Made all uncorrected header names uppercase and removed duplicates
* "TOTALSAMPLESIZE" now maps to "N" instead of "NSTUDY"
* "MAJORALLELE", "MAJOR_ALLELE", "MAJOR-ALLELE", and "MAJOR ALLELE" now map to
"A1" instead of "A2"
* Removed the mappings for "OR-A1", "OR.A1", "OR_A1", and "BETA1" because MSS
assumes that A2 is the effect allele
* Removed mappings for "A1FREQ", "A1FRQ", "AF1", "FREQ.A1.1000G.EUR",
"FREQ.A1.ESP.EUR", "FREQ.ALLELE1.HAPMAPCEU", "FREQ1", "FREQ1.HAPMAP", and
"FRQ_A1" because MSS defines "FRQ" to be the allele frequency of A2
* Removed mappings for "CHR36", "BASE_GRCH36", "POSITION36", "POSGRCH36",
"BASEGRCH36", "POS36", "POS GRCH36", "POS.GRCH36", "POS-GRCH36", and "POS_GRCH36"
because MSS does not support the GRCh36 genome build
* Removed the ambiguous mapping "NMISS" -> "N" because "NMISS" can refer to the
number of samples with missing data
* Removed the ambiguous mapping "WEIGHT" -> "N" because "WEIGHT" can refer to
coefficient weights

## CHANGES IN VERSION 1.9.17

### Bug fix
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
Binary file modified data/sumstatsColHeaders.rda
Binary file not shown.
Loading