50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

crosstalkr (version 1.0.4)

get_topn: Helper function for compute_null_dnp - returns the top n genes by dnp for each sample

Description

Helper function for compute_null_dnp - returns the top n genes by dnp for each sample

Usage

get_topn(df, n_genes)

Arguments

df

output of compute_dnp()

n_genes

integer describing number of genes per sample that we will compute the null distribution for