Rdocumentation
powered by
Learn R Programming
HAP.ROR (version 1.0)
collapse: group assignment
Description
function for assign group info to samples after collapsing
Usage
collapse(case, ctl, lib, names, snp.de = -1)
Arguments
case
case samples: 1st_col=haplotype_1, 2nd_col=haplotype_2
ctl
control samples: 1st_col=haplotype_1, 2nd_col=haplotype_2
lib
the tag-SNPs library *.4d with the only alleles appear in sample
names
corresponding allele names in the same format as appear in sample
snp.de
the column position of a list of SNPs to be deleted, default no delete