most_significant: Single Most Significant Occurrences of Genes

Description Usage Arguments Value

View source: R/utils-cluster-significance.R

Description

Most significant occurrence of each gene. The data generated allows the parameter n.sig.2 to be generated, for the number of genes in a cluster with the most significant occurrences.

Usage

1
most_significant(List, by = "small")

Arguments

List

a list of named numeric vectors. Names: genes; values: their p-values; vectors: clusters derived from statistrics::hcluster.

by

'small' or 'large' depending on whether the most significant values are the smallest (eg. p-value) or largest (eg. fold change).

Value

the inputted List after filtering such that each gene only appears once in the cluster where it is most significant.


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.