View source: R/postprocess_depvalue.R
postprocess_depvalue | R Documentation |
This function does the following: There are varible cell types
stored in de_list$level_vec
. For each cell type, enumerate
the p-value (across different features, i.e., genes or proteins)
when comparing that cell type against all other cell types.
Return the p-value at the quantile of quantile_value
among all these comparisons for this particular cell type.
Then, repeat for all cell types, resulting in a p-value for each
cell type and each feature.
Lastly, for each feature, take the maximum of the -log10 p-value (across
all the cell types).
postprocess_depvalue(
de_list,
exclude_celltypes = NULL,
maximum_output = NULL,
quantile_value = 0.75,
verbose = 1
)
de_list |
output of the |
exclude_celltypes |
a vector of strings containing cell types to be
excluded in this function's calculations. All the cell types should be in |
maximum_output |
any output (i.e., negative log10 pvalue) larger than
|
quantile_value |
for a particular variable, when comparing one cell type
to all other cell types, output the p-value at the quantile of |
verbose |
non-negative integer |
a vector of the -log10 p-value for each variable in de_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.