snpmatrix.combine: snpmatrix.combine

Description Usage Arguments Details Value Author(s)

Description

Bind two SnpMatrices with overlapping SNPs but distinct samples.

Usage

1

Arguments

X

a SnpMatrix

Y

a SnpMatrix with some snps overlapping X, but no samples overlapping

Details

BEWARE: it is assumed that alleles are aligned, and NO CHECK is made. Combining SnpMatrices with alleles aligned to opposite strands will produce a meaningless result.

Value

a new SnpMatrix formed from X and Y. SNPs found in only one dataset will have missing genotypes in the other

Author(s)

Chris Wallace


chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.