Man Page: pgasetcharacterallele
Operating Environment: debian
Section: 1
PGASetCharacterAllele(1) PGAPack PGASetCharacterAllele(1)NAMEPGASetCharacterAllele - sets the value of an allele in a PGA_DATATYPE_CHARACTER string.INPUT PARAMETERSctx - context variable p - string index pop - symbolic constant of the population the string is in i - allele index val - character value to set the allele toOUTPUT PARAMETERSside -effect.SYNOPSIS#include "pgapack.h" void PGASetCharacterAllele(ctx, p, pop, i, value) PGAContext *ctx int p int pop int i char valueLOCATIONchar.cEXAMPLECopies the alleles from member p in PGA_OLDPOP to member q in PGA_NEWPOP. Assumes the strings are of the same length. PGAContext *ctx; int p, q, i; : for (i=PGAGetStringLength(ctx)-1; i>=0; i--) PGASetCharacterAllele(ctx, q, PGA_NEWPOP, i, PGAGetCharacterAllele(ctx, p, PGA_OLDPOP, i)) 05/01/95 PGASetCharacterAllele(1)
| Related Man Pages |
|---|
| pgaevaluate(1) - debian |
| pgasetintegerinitrange(2) - debian |
| pgasetrealinitrange(2) - debian |
| pgasendreceiveindividual(4) - debian |
| hx509_bitstring_print(3) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| Is UNIX an open source OS ? |
| Introduction |
| One instance of comparing grep and awk |