Creates a DataSet object using gwasglue2 SummarySet objects, and harmonise data against data
Source:R/constructors.R
create_dataset.Rd
Creates a DataSet object using gwasglue2 SummarySet objects, and harmonise data against data
Usage
create_dataset(
summary_sets = list(),
harmonise = TRUE,
tolerance = 0.08,
action = 1
)
Arguments
- summary_sets
A list of gwasglue2 SummarySet objects
- harmonise
logical (default TRUE). It harmonises the summary sets in the DataSet against each other.
- tolerance
Inherited from harmoniseData() (default 0.08)
- action
Inherited from harmoniseData() (Default 1)
action = 1
: Assume all alleles are coded on the forward strand, i.e. do not attempt to flip allelesaction = 2
: Try to infer positive strand alleles, using allele frequencies for palindromes (default, conservative);action = 3
: Correct strand for non-palindromic SNPs, and drop all palindromic SNPs from the analysis (more conservative).