expressionProfileDistStatsPerTissues: Extract different 'stats' per tissue specific expression...

View source: R/expression_funks.R

expressionProfileDistStatsPerTissuesR Documentation

Extract different stats per tissue specific expression profile distances.

Description

Extract different stats per tissue specific expression profile distances.

Usage

expressionProfileDistStatsPerTissues(expr.prof.dists.per.tissue,
  gene.classes, fam.name = NA, stats = c("max", "median", "mean",
  "maxMinusMin"))

Arguments

expr.prof.dists.per.tissue

An instance of list with names identifying tissues and values being instances of base::dist. See function expressionProfilesDists(..., per.tissue = TRUE).

gene.classes

An instance of list where the names are the different gene classes and the values character vectors intersecting with the argument genes and thus segregating them into the respective gene-classes.

fam.name

The name of the group of genes the distances were computed for. Will be the row-name of the returned numeric matrix. Default is NA.

stats

A character vector holding the names of the functions to apply on the the tissue specific distances. Default is stats = c('max', 'median', 'mean', 'maxMinusMin').

Value

An instance of matrix with numeric values holding the stats inferred for each group of tissue specific distances as found in argument expr.prof.dists.per.tissue. Returns NULL if all(is.na(expr.prof.dists.per.tissue)).


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.