pRank {CytoDx}R Documentation

Percentile rank transformation of the data

Description

A function that performs the rank transformation of the data.

Usage

pRank(x, xSample)

Arguments

x

A data frame containing the pooled data from fcs files. Each row is a cell, each column is a marker.

xSample

A vector specifying which sample each cell belongs to. Length must equal to nrow(x).

Value

Returns data frame containing rank transformed data.

Examples

x <- pRank(x=iris[,1:4],xSample=iris$Species)

[Package CytoDx version 1.8.0 Index]