This page explains how to:
plinkr
plinkr
plinkr
is not on CRAN yet. To install plinkr
:
library(remotes)
install_github("richelbilderbeek/plinkr")
This assumes you have the remotes
package installed.
pgenlibr
remotes::install_github("chrchang/plink-ng/2.0/pgenlibr")
plinkr
uses multiple version of PLINK. To install them all:
library(plinkr)
install_plinks()
Use get_plink_versions()
to see which versions are supported.
plinkr
works with multiple versions of plink
by default.
It is possible to only install a single version:
Use get_plink_versions()
to see which versions are supported.
To install only PLINK v1.7:
library(plinkr)
plink_options <- create_plink_v1_7_options()
install_plink(plink_options = plink_options)
Use the same ´plink_options´ when calling PLINK, to call this version of PLINK.
To install only PLINK v1.9:
library(plinkr)
plink_options <- create_plink_v1_9_options()
install_plink(plink_options = plink_options)
Use the same ´plink_options´ when calling PLINK, to call this version of PLINK.
To install only PLINK v2.0:
library(plinkr)
plink_options <- create_plink_v2_0_options()
install_plink(plink_options = plink_options)
Use the same ´plink_options´ when calling PLINK, to call this version of PLINK.
To install all PLINK versions in a different folder,
specify that folder in the plink_optionses
argument
of install_plinks
:
install_plinks(create_plink_optionses(plink_folder = "my_folder"))
This will create the multiple versions if PLINK in the default subfolders.
To install the different PLINK versions in different folder,
specify those folders in the plink_optionses
argument
of install_plinks
:
plink_optionses <- list(
create_plink_v1_7_options(plink_folder = "my_folder"),
create_plink_v1_9_options(plink_folder = "another_folder")
)
install_plinks(plink_optionses)
This will create the multiple versions of PLINK, each in its own custom (sub)folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.