Use package's ranking function for included data

This commit is contained in:
Elias Projahn 2022-11-30 14:49:42 +01:00
parent 698ea5086a
commit a6f0a64c2c
3 changed files with 18 additions and 16 deletions

View file

@ -5,6 +5,7 @@
\title{Rank genes based on how ubiquitous they are.}
\usage{
rank_genes(
data = ubigen::genes,
cross_sample_metric = "above_95",
cross_sample_weight = 0.5,
level_metric = "median_expression_normalized",
@ -13,6 +14,10 @@ rank_genes(
variation_weight = -0.25
)
}
\arguments{
\item{data}{The input data to use. This should either be the result of a
previous call to this function or the return value of \code{\link[=analyze]{analyze()}}.}
}
\value{
A \code{data.table} with gene data as well as the scores, ranks and
percentiles for each gene.