Learn R Programming

bbmix (version 1.0.0)

ex_alt_hom: 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)

Value

save file

Arguments

gt_f

character vector with file names with genotype calls per sample

out

file name to save output

Examples

Run this code

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)

Run the code above in your browser using DataLab