bl_bed_set_chrom_ae(3)

LIBRARY
#include <biolibc/bed.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_bed_set_chrom_ae(
bl_bed_t *bl_bed_ptr,
size_t c,
char new_chrom_element
)

ARGUMENTS
bl_bed_ptr      Pointer to the structure to set
c               Subscript to the chrom array
new_chrom_element The new value for chrom[c]

DESCRIPTION
Mutator for an array element of chrom member in a bl_bed_t structure. Use this function to set bl_bed_ptr->chrom[c] in a bl_bed_t object from non-member functions.

RETURN VALUES
BL_BED_DATA_OK if the new value is acceptable and assigned BL_BED_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_bed_t        bl_bed;
size_t          c;
char            new_chrom_element;
if ( bl_bed_set_chrom_ae(&bl_bed, c, new_chrom_element)
        == BL_BED_DATA_OK )
{
}

SEE ALSO
BL_BED_SET_CHROM_AE(3)