snp.match | R Documentation |
Match snps in two aSnpMatrix objects
snp.match(x, y, col.x = 0, col.y = 0)
x |
aSnpMatrix object |
y |
aSnpMatrix object |
col.x |
optional, column identifier for |
col.y |
optional, column identifier for |
Extract indices of overlapping SNPs in two aSnpMatrix objects. By
default, match is on rownames(snps(x))
, rownames(snps(y))
.
a named list of length two with elements
indices of matching SNPs in x
indices of matching SNPs in y
Chris Wallace
x <- example.data(1:10,1:10)
y <- example.data(6:15,6:15)
snp.match(x,y)
sample.match(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.