write_mbop: Write inforatuon on sample ID and variants in the emp file...

Description Usage Arguments Examples

View source: R/utpalFunctions.R

Description

This function takes two vectors SampleID and Variant and returns a tibble in the emp file format. Each row in the tibble will correspond to 1 individual (SampleID) and their empop string (tab separated) will be the value in the second column

Usage

1
write_mbop(SampleID, Variant)

Arguments

SampleID

A vector of sample IDs (character strings)

Variant

A vector of variants (character strings). See Snp2variant for description

Examples

1
2
write_mbop("NA12871", c("73G", "95-"))
write_mbop(c("NA12871", "NA12871", "NA12872"), c("73G", "95-", "73G"))

Ahhgust/MMDIT documentation built on Jan. 27, 2021, 11:48 a.m.