Last chance! 50% off unlimited learning
Sale ends in
Provided with a study ID and a lead variant ID, this function returns a data frame consisting of all the associated credible set tag variants with the corresponding statistical data.
gwasCredibleSet(study_id, variant_id)
Returns a data frame of results from the credible set of variants for a specific lead variant with the following columns:
tagVariant.id
: Data frame. A table of IDs of the tag variant.
tagVariant.rsId
: Character vector. rsID of the tag variant.
beta
: Numeric. Beta value.
postProb
: Numeric. Posterior probability.
pval
: Numeric. P-value.
se
: Numeric. Standard error.
MultisignalMethod
: Character vector. Multisignal method.
logABF
: Numeric. Logarithm of approximate Bayes factor.
is95
: Logical. Indicates if the variant has a 95
is99
: Logical. Indicates if the variant has a 99
Character: Study ID(s) generated by Open Targets Genetics (e.g GCST90002357).
Character: generated ID for variants by Open Targets Genetics (e.g. 1_154119580_C_A) or rsId (rs2494663).
if (FALSE) {
result <- gwasCredibleSet(study_id="GCST90002357", variant_id="1_154119580_C_A")
result <- gwasCredibleSet(study_id="GCST90002357", variant_id="rs2494663")
}
Run the code above in your browser using DataLab