trixy: Convert trinomial distribution into x y values Takes a...

View source: R/genoplotters.R

trixyR Documentation

Convert trinomial distribution into x y values Takes a data.frame of three columns where each row represents a trinomial distribution. Returns xy coordinates for plotting in a triangle.

Description

Convert trinomial distribution into x y values Takes a data.frame of three columns where each row represents a trinomial distribution. Returns xy coordinates for plotting in a triangle.

Usage

trixy(df)

Arguments

df

A data.frame of three columns. Where a row does not sum to 1, it will be rescaled.


alexwhan/genomap documentation built on March 1, 2025, 10:13 a.m.