MR object
MR.RdAn MR object is a container for vectors and matrices of 2 or more GWAS data.
Arguments
- exposure
a
GWASobject or list ofGWASobjects- outcome
a
GWASobject- harmonise_strictness
an integer (1,2,3) corresponding to the TwoSampleMR harmonisation options of the same name.
- correlation
a matrix, correlation matrix of signed R values between variants
- verbose
a logical, print more information
Slots
snpscharacter, variant ID
chrcharacter, chromosome identifier
bpinteger, base position
eacharacter, effect allele
oacharacter, other allele
eafxnumeric, exposure effect allele frequency
nxinteger, exposure total number of samples
ncasexinteger, exposure number of cases
bxnumeric, exposure effect size
bxsenumeric, exposure effect size standard error
pxnumeric, exposure p-value
eafynumeric, exposure effect allele frequency
nyinteger, exposure total number of samples
ncaseyinteger, exposure number of cases
bynumeric, exposure effect size
bysenumeric, exposure effect size standard error
pynumeric, exposure p-value
exposure_idcharacter, the GWAS identifier
exposurecharacter, the GWAS exposure
outcome_idcharacter, the GWAS identifier
outcomecharacter, the GWAS outcome
groupinteger, grouping variable used for plotting
index_snplogical, whether the variant is an index variant (via clumping)
proxy_snpcharacter, the id of the proxy snp
ld_infological, whether there is LD information
infodata.frame, information about the loaded GWAS objects
correlationmatrix, a correlation matrix of signed R values between variants