"merge"(x, y, ... , error_amount = 1e+06, replacena = TRUE,
forcestranduse = FALSE, sort = TRUE,
intersected_snps_only = FALSE)
snp.data-class
snp.data-class
snp.data-class
When "forcestranduse" is set to FALSE, strand information is not used unless the coding is not sufficient for merging the data (i.e. starnd information is used only to merge A/T and G/C polymorphisms).
SNP error is returned to "snp" table when SNP coding is incompatible between the two sets. For such SNPs, only the data provided by set "x" are used in the merged data.
ID error is returned to "id" table when genotypes of the same person at the same SNP are different between set "x" and set "y". For such genotypes, the data provided by set "x" are used in the merged data.
merge.gwaa.data
,
add.phdata
require(GenABEL.data)
data(srdta)
x1 <- srdta[c(1,3,5,6),c(2,4,5,6)]@gtdata
x2 <- srdta[c(2,4,5,6),c(1,3,5,6)]@gtdata
x3 <- merge(x1,x2)
as.character(x1)
as.character(x2)
as.character(x3$data)
as.character(srdta[1:6,1:6])
Run the code above in your browser using DataLab