SetQuantile: Find the quantile of a data

SetQuantileR Documentation

Find the quantile of a data

Description

Converts a quantile in character form to a number regarding some data String form for a quantile is represented as a number prefixed with 'q' For example, 10th quantile is 'q10' while 2nd quantile is 'q2'

Usage

SetQuantile(cutoff, data)

Arguments

cutoff

The cutoff to turn into a quantile

data

The data to find the quantile of

Details

Will only take a quantile of non-zero data values

Value

The numerical representation of the quantile

References

https://github.com/satijalab/seurat/blob/master/R/visualization.R


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.