.addRegulationInformationAndFilterDEGs | R Documentation |
a helper function for PseudobulkingBarPlot to tag genes as up- or down-regulated and check for uniqueness of differential gene expression across the contrasts.
.addRegulationInformationAndFilterDEGs(
tibble,
logFC_threshold = 1,
FDR_threshold = 0.05
)
tibble |
a (presumably large) tibble from dplyr containing the results of RunFilteredPseudobulkingContrasts |
logFC_threshold |
The minimum value for a gene's absolute value of log fold change to be considered differentially expressed. |
FDR_threshold |
The maximum value for a gene's FDR to be considered differentially expressed. |
a tibble with the uniqueness and direction of regulation for each gene stored in tibble$regulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.