computePS: Computes the profile statistics

Description Usage Arguments Details Value Author(s) Examples

View source: R/computePS.R

Description

Computes the increased or decreased profile statistics for each row (or gene) across the three samples within a feature or data type (expression, methylation, or copy-number variation)

Usage

1
computePS(rd1, cd1, cd2, profile)

Arguments

rd1

: A numeric value of the reference sample (R) on which to estimate the profile statistics for a given row

cd1

: A numeric value of the comparison sample 1 (S1) for a given gene, gene probe or gene copy segment

cd2

: A numeric value of the comparison sample 2 (S2) for a given gene, gene probe or gene copy segment

profile

: The desired direction of genomic change. The values are "up" (default) or "down" to select for increased or decreased gene set profile, respectively

Details

This function requires three data values corrosponding to three samples for a given gene (or row), respectively

Value

The returned value is profile statistics computed considering the specified change in the reference sample when compared to the remaining two relative samples.

Author(s)

Bhakti Dwivedi & Jeanne Kowalski

Examples

1
2
3
4
rd1 = 40
cd1 = 20
cd2 = 20
computePS(rd1, cd1, cd2, profile="up")

BhaktiDwivedi/GISPA documentation built on June 23, 2020, 3:41 p.m.