sample.match | R Documentation |
Match samples in two aSnpMatrix objects
sample.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 samples in two aSnpMatrix objects. By
default, match is on rownames(x@samples)
, rownames(y@snps)
.
a named list of length two with elements
indices of matching samples in x
indices of matching samples 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.