Check whether a snp is in a snppicker, groups or tags object
snpin(x, y) # S4 method for character,snppicker snpin(x, y) # S4 method for character,tags snpin(x, y) # S4 method for character,groups snpin(x, y)
x | character vector of SNPs to be checked |
---|---|
y | object of class snppicker, groups or tags |
logical matrix of nrow equal to length(x) and ncol equal to number of groups in y