Learn R Programming

Qploidy (version 1.0.1)

pascalTriangle: Pascal Triangle for Expected Peaks Calculation

Description

This function generates the Pascal triangle for a given ploidy value. The Pascal triangle is used to define the expected peaks for each ploidy level, which can be useful in various genetic analyses.

Usage

pascalTriangle(h)

Value

A list where each element corresponds to a row of the Pascal triangle, up to the specified ploidy value.

Arguments

h

An integer representing the ploidy value.