Al-Murphy / MungeSumstats

Rapid standardisation and quality control of GWAS or QTL summary statistics
https://doi.org/doi:10.18129/B9.bioc.MungeSumstats
75 stars 15 forks source link

Add checks to standardise_sumstats_column_headers_crossplatform() #175

Closed cfbeuchel closed 9 months ago

cfbeuchel commented 9 months ago

As discussed in #174, I've implemented your suggestions. I prefer setDF to as.data.frame as it changes by reference only. It might also be useful to put the conversion in the conditional statement, but I don't think it hurts, since in case someone supplies the identical mapping file for whatever reason, the conversion might avoid errors.