matchpos: Function to match a set of variants to a reference by...

Description Usage Arguments

View source: R/matchpos.R

Description

If REF/ALT alleles available, will also check them for reverse coding. Specify the exclude.ambiguous option for possible sense/antisense ambiguity.

Usage

1
2
3
4
matchpos(tomatch, ref.df, auto.detect.tomatch = T, auto.detect.ref = T,
  chr = "", ref.chr = "", pos = "", ref.pos = "", snp = "",
  ref.snp = "", ref = "", ref.ref = "", alt = "", ref.alt = "",
  exclude.ambiguous = F, silent = F, rm.duplicates = F)

Arguments

tomatch

A data.frame or data.table

ref.df

A data.frame or data.table

rm.dumplicates

Remove SNPs with more than one match


tshmak/lassosum documentation built on Sept. 24, 2020, 9:41 a.m.