swh:1:snp:0da231f3ffdb3226650880f1b61d5d5cdcbd749b
Tip revision: 656fc8b562d53e5d0cedda9e09d9dda81e8c00e9 authored by David Collins on 29 February 2024, 13:44:33 UTC
Merge pull request #8550 from satijalab/develop
Merge pull request #8550 from satijalab/develop
Tip revision: 656fc8b
PercentAbove.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{PercentAbove}
\alias{PercentAbove}
\title{Calculate the percentage of a vector above some threshold}
\usage{
PercentAbove(x, threshold)
}
\arguments{
\item{x}{Vector of values}
\item{threshold}{Threshold to use when calculating percentage}
}
\value{
Returns the percentage of \code{x} values above the given threshold
}
\description{
Calculate the percentage of a vector above some threshold
}
\examples{
set.seed(42)
PercentAbove(sample(1:100, 10), 75)
}
\concept{utilities}