generate_metadata: generate_metadata

generate_metadataR Documentation

generate_metadata

Description

The pseudobulk data is generated using the generate_pseudo_bulk_data function.

Usage

generate_metadata(pseudo_bulk_data)

Arguments

pseudo_bulk_data

Pseudobulk data generated from the generate_pseudo_bulk_data function

Value

Metadata table for later use

See Also

generate_pseudo_bulk_data for generating pseudobulk data.

Examples

# Example pseudobulk data
pseudo_bulk_data <- data.frame(
  sample1_groupA = c(10, 20, 30),
  sample2_groupA = c(15, 25, 35),
  sample3_groupB = c(5, 10, 15)
)

# Generate metadata from pseudobulk data
metadata <- generate_metadata(pseudo_bulk_data)


reactome/ReactomeGSA documentation built on Nov. 9, 2024, 10:56 a.m.