Package: MRTool 0.0.0.9000
MRTool: Simulating Data for Mendelian Randomization Scenarios Based on Genotype Data
This package can be used to simulate data in R for Mendelian Randomization scenarios including confounder, exposure and outcome. Recommended MR package is MendelianRandomization.
Authors:
MRTool_0.0.0.9000.tar.gz
MRTool_0.0.0.9000.zip(r-4.5)MRTool_0.0.0.9000.zip(r-4.4)MRTool_0.0.0.9000.zip(r-4.3)
MRTool_0.0.0.9000.tgz(r-4.4-any)MRTool_0.0.0.9000.tgz(r-4.3-any)
MRTool_0.0.0.9000.tar.gz(r-4.5-noble)MRTool_0.0.0.9000.tar.gz(r-4.4-noble)
MRTool_0.0.0.9000.tgz(r-4.4-emscripten)MRTool_0.0.0.9000.tgz(r-4.3-emscripten)
MRTool.pdf |MRTool.html✨
MRTool/json (API)
# Install 'MRTool' in R: |
install.packages('MRTool', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/askieslinger/mrtool/issues
Last updated 5 years agofrom:eea664f1c3. Checks:ERROR: 1 WARNING: 6. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Oct 26 2024 |
R-4.5-win | WARNING | Oct 26 2024 |
R-4.5-linux | WARNING | Oct 26 2024 |
R-4.4-win | WARNING | Oct 26 2024 |
R-4.4-mac | WARNING | Oct 26 2024 |
R-4.3-win | WARNING | Oct 26 2024 |
R-4.3-mac | WARNING | Oct 26 2024 |
Exports:cal_betasCreateMRInputObjectget_corrsSetMRParamssim_and_mrSimulateMRDatatransform_results
Dependencies:arrangementsaskpassbackportsbase64encbroombslibcachemclicodetoolscolorspacecpp11crosstalkcurldata.tableDEoptimRdigestdplyrevaluatefansifarverfastmapfontawesomeforeachfsgenericsggplot2glmnetgluegmpgtablehighrhtmltoolshtmlwidgetshttrisobanditeratorsiterpcjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixMatrixModelsmemoiseMendelianRandomizationmgcvmimemunsellnlmenumDerivopensslpillarpkgconfigplotlypromisespurrrquantregR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenrjsonrlangrmarkdownrobustbasesassscalesshapeSparseMstringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
calculates betacoefficients from explained variances | cal_betas |
Create MRInput Object | CreateMRInputObject |
calculate correlation for a datatable of snps | get_corrs |
MRTool: A package to simulate data for mendelian randomization | MRTool |
Set MR Parameters (betacoefficients) | SetMRParams |
Simulate U,X and Y and run MR on them | sim_and_mr |
Simulate MR Data | SimulateMRData |
Transform result of iterations of simulation and MR | transform_results |