Learn R Programming

ogrdbstats (version 0.5.4)

write_genotype_file: Write the genotype file required by OGRDB

Description

Write the genotype file required by OGRDB

Usage

write_genotype_file(filename, segment, chain_type, genotype)

Value

None

Arguments

filename

name of file to create (csv)

segment

one of V, D, J

chain_type

one of H, L

genotype

genotype data frame

Examples

Run this code
genotype_file = tempfile("ogrdb_genotype")
write_genotype_file(genotype_file, 'V', 'H', example_rep$genotype)
file.remove(genotype_file)

Run the code above in your browser using DataLab