PGAGetIntegerAllele - Online in the Cloud

This is the command PGAGetIntegerAllele that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


PGAGetIntegerAllele - Returns the value of allele i of member p in population pop.

DESCRIPTION


Assumes the data type is PGA_DATATYPE_INTEGER.

INPUT PARAMETERS


ctx - context variable
p - string index
pop - symbolic constant of the population the string is in
i - allele index

OUTPUT PARAMETERS


none

SYNOPSIS


#include "pgapack.h"
int PGAGetIntegerAllele(ctx, p, pop, i)
PGAContext *ctx
int p
int pop
int i

LOCATION


integer.c

EXAMPLE


Returns the value of the ith integer allele of string p
in population PGA_NEWPOP.

PGAContext *ctx;
int p, i, k;
:
k = PGAGetIntegerAllele ( ctx, p, PGA_NEWPOP, i )

05/01/95 PGAGetIntegerAllele(1)

Use PGAGetIntegerAllele online using onworks.net services



Latest Linux & Windows online programs