median_expression {ssdGSA} | R Documentation |
Function to Calculate Median of Gene Expressions
Description
This function is to calculate the median of gene expressions for genes in the given gene sets.
Usage
median_expression(Data, pathway.db)
Arguments
Data |
Data matrix of gene expressions with gene ensembl ID as row names and columns corresponding to different samples. |
pathway.db |
A list of gene sets. |
Details
Within the ssdGSA function, when GSA_method = "median.exprs", this function is used to calculate the average of gene expressions for genes in the given gene sets.
Value
Matrix of average gene expression in each gene set with rows corresponding to gene sets and columns corresponding to samples will be returned.
[Package ssdGSA version 0.1.1 Index]