ex_alt_hom {bbmix} | R Documentation |
Exclude fSNPs with no alternative allele in any sample. Also exclude fSNPs if all samples are hom.
ex_alt_hom(gt_f, out)
gt_f |
character vector with file names with genotype calls per sample |
out |
file name to save output |
save file
gt_f <- system.file("extdata/output", "gt.NA12878.chr22.txt",
package = "bbmix",
mustWork = TRUE)
out <- tempfile()
## Running function
ex_alt_hom(gt_f, out)
unlink(out)