Converts SummarySet GWAS summary data to a different genome assembly. Human genome chain files are download from ENSEMBL
Arguments
- summaryset
A gwasglue2 SummarySet object
- chainfile
The chainfile used to remap the genomic coordinates. If
NULL
a chainfile is downloaded using theto
and thesummaryset
metadata to check the genome assembly to which GWAS summary data is currently mapped.- to
genome assembly to which should be mapped. Default "GRCh38"
Other options: "NCBI34", "NCBI35", "NCBI36", GRCh37" and "GRCh38"
See also
create_metadata()
and addToMetadata()
on how to create or add to metadata.
Note that if using chainfile
the analyses are not restricted to Human GWAS.