1\" Generated by c2man from bl_bed_set_chrom_ae.c 2.TH bl_bed_set_chrom_ae 3 3 4.SH LIBRARY 5\" Indicate #includes, library name, -L and -l flags 6.nf 7.na 8#include <biolibc/bed.h> 9-lbiolibc -lxtend 10.ad 11.fi 12 13\" Convention: 14\" Underline anything that is typed verbatim - commands, etc. 15.SH SYNOPSIS 16.PP 17.nf 18.na 19int bl_bed_set_chrom_ae(bl_bed_t *bl_bed_ptr, size_t c, char new_chrom_element) 20.ad 21.fi 22 23.SH ARGUMENTS 24.nf 25.na 26bl_bed_ptr Pointer to the structure to set 27c Subscript to the chrom array 28new_chrom_element The new value for chrom[c] 29.ad 30.fi 31 32.SH DESCRIPTION 33 34Mutator for an array element of chrom member in a bl_bed_t 35structure. Use this function to set an element of the array 36chrom in a bl_bed_t variable from non-member functions. 37 38Note that there is an equivalent macro BL_BED_SET_CHROM_AE(), which performs 39this function with no data verification or function call overhead. 40Use the macro version to maximize performance where the validity 41of new_chrom_element is guaranteed by other means. 42 43.SH EXAMPLES 44.nf 45.na 46 47bl_bed_t bl_bed; 48size_t c; 49char new_chrom_element; 50 51if ( bl_bed_set_chrom(&bl_bed, c, new_chrom_element) == BL_DATA_OK ) 52{ 53} 54.ad 55.fi 56 57.SH SEE ALSO 58 59BL_BED_SET_CHROM_AE(3) 60 61