| genes_example | R Documentation |
A simulated gene expression dataset with 200 genes measured across 100 samples, organized into co-expression modules with a binary disease outcome.
genes_example
A data frame with 100 rows and 202 variables:
Character. Unique sample identifier
Factor. Disease status (Healthy, Disease)
Numeric. Gene expression values (log-transformed)
This dataset simulates a high-dimensional, low-sample scenario common in genomics. Genes are organized into four co-expression modules:
Module 1 (GENE001-GENE050): Highly correlated (r ~= 0.80), disease-associated
Module 2 (GENE051-GENE100): Moderately correlated (r ~= 0.60)
Module 3 (GENE101-GENE150): Weakly correlated (r ~= 0.40)
Module 4 (GENE151-GENE200): Independent (r ~= 0)
Disease outcome depends on a subset of genes from Module 1.
Use case: Demonstrating corrPrune() with mode = "greedy" for handling
high-dimensional data efficiently.
Simulated data based on typical gene expression microarray structures
corrPrune()
data(genes_example)
# Greedy pruning for high-dimensional data
gene_data <- genes_example[, -(1:2)] # Exclude ID and outcome
pruned <- corrPrune(gene_data, threshold = 0.8, mode = "greedy")
ncol(pruned) # Reduced from 200 to 177 genes
# Use pruned genes for classification
pruned_with_outcome <- data.frame(
disease_status = genes_example$disease_status,
pruned
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.