computeBreadth: Compute breadth of expression of the genes across a...

View source: R/descriptors.R

computeBreadthR Documentation

Compute breadth of expression of the genes across a data.frame

Description

Compute breadth of expression of the genes across a data.frame

Usage

computeBreadth(DF, threshold, omit.zero, typeR = "vec")

Arguments

DF

numeric data.frame

threshold

numeric. Minimal expression to be considered. For 0, the comparison is strict.

omit.zero

boolean. Whether the genes which do not reach the minimal expression threshold in any tissue should be stripped from the output.

typeR

character string. Chose the type of result to return. 'vec' for a vector of the observed expression breadths, 'nameVec' for a named vector of the observed expression breadths associated to each rownames, 'df' or 'DF' for the original data.frame with an additional column, 'dfBool' for a boolean data.frame where TRUE when the gene expression reaches the minimal expression. 'unique_tissueList' data.frame with genes that are found in one tissue only above the minimal threshold. 'plot' for a histogram of the gene expression breadth in that data.frame

Value

the expression breadth of the genes in different (see typeR)


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.