View source: R/sig_genes_extract_all.R
sig_genes_extract_all | R Documentation |
This function combines the output of sig_genes_extract()
from all the
layer-level (group-level) modeling results and builds the data required for
functions such as layer_boxplot()
.
sig_genes_extract_all(
n = 10,
modeling_results = fetch_data(type = "modeling_results"),
sce_layer = fetch_data(type = "sce_layer")
)
n |
The number of the top ranked genes to extract. |
modeling_results |
Defaults to the output of
|
sce_layer |
Defaults to the output of
|
A DataFrame-class with the extracted statistics in long format. The specific columns are described further in the vignette.
Other Layer modeling functions:
layer_boxplot()
,
sig_genes_extract()
## Obtain the necessary data
if (!exists("modeling_results")) {
modeling_results <- fetch_data(type = "modeling_results")
}
if (!exists("sce_layer")) sce_layer <- fetch_data(type = "sce_layer")
## top 10 genes for all models
sig_genes_extract_all(
modeling_results = modeling_results,
sce_layer = sce_layer
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.