CAMERA_local class
CAMERA_local.RdA simple wrapper function for importing data from local files for use with the CAMERA class.
Methods
Method new()
Create a new dataset and initialise an R interface
Usage
CAMERA_local$new(
metadata,
ld_ref,
plink_bin,
mc.cores = 1,
radius = 25000,
pthresh = 5e-08,
minmaf = 0.01
)Arguments
metadataData frame with information about the data. One row per dataset. See details for info on columns
ld_refData frame with two columns - pop = population (referencing the pop values in metadata), bfile = path to plink file for that reference
plink_binLocation of executable plink (ver.1.90 is recommended)
radiusGenomic window size to extract SNPs
pthreshP-value threshold for instrument inclusion
minmafMinimum allelel frequency per dataset
clump_popReference population for clumping