ex_alt_hom {bbmix}R Documentation

Exclude fSNPs with no alternative allele in any sample. Also exclude fSNPs if all samples are hom.

Description

Exclude fSNPs with no alternative allele in any sample. Also exclude fSNPs if all samples are hom.

Usage

ex_alt_hom(gt_f, out)

Arguments

gt_f

character vector with file names with genotype calls per sample

out

file name to save output

Value

save file

Examples


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)


[Package bbmix version 1.0.0 Index]