write_genotype_file: Write the genotype file required by OGRDB

View source: R/genotype_statistics.R

write_genotype_fileR Documentation

Write the genotype file required by OGRDB

Description

Write the genotype file required by OGRDB

Usage

write_genotype_file(filename, segment, chain_type, genotype)

Arguments

filename

name of file to create (csv)

segment

one of V, D, J

chain_type

one of H, L

genotype

genotype data frame

Value

None

Examples

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

airr-community/ogrdbstats documentation built on Feb. 17, 2025, 5:05 p.m.