computePS {GISPA} | R Documentation |
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)
computePS(rd1, cd1, cd2, profile)
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 |
This function requires three data values corrosponding to three samples for a given gene (or row), respectively
The returned value is profile statistics computed considering the specified change in the reference sample when compared to the remaining two relative samples.
Bhakti Dwivedi & Jeanne Kowalski
rd1 = 40 cd1 = 20 cd2 = 20 computePS(rd1, cd1, cd2, profile="up")