tf_PS: Transform Phylostratum Values

View source: R/tf_PS.R

tf_PSR Documentation

Transform Phylostratum Values

Description

This function performs transformation of phylostratum values.

Usage

tf_PS(phyex_set, transform = "qr")

Arguments

phyex_set

a PhyloExpressionSet S7 object.

transform

a character vector of any valid function that transforms PS values. Possible values can be:

  • transform = "qr" (or "quantilerank") : quantile rank transformation analogous to Julia function StatsBase.quantilerank using method = :tied.

Details

This function transforms the phylostratum assignment. The return value of this function is a PhyloExpressionSet object with transformed phylostratum tfPhylostratum as the first column, satisfying PhyloExpressionSetBase. Note that the input transform must be an available function, currently limited to only "qr" (or "quantilerank").

Value

a PhyloExpressionSet object storing transformed Phylostratum levels.

Author(s)

Jaruwatana Sodai Lotharukpong and Lukas Maischak

See Also

tf

Examples


# get the relative expression profiles for each phylostratum
tfPES <- tf_PS(example_phyex_set, transform = "qr")


myTAI documentation built on Nov. 20, 2026, 5:08 p.m.