bindex: A function to creat new report with required files copied and...

Description Usage Arguments Value Note References

Description

Calculate Bimodal Index

Usage

1
bindex(dataset, na.rm = FALSE, verbose = TRUE)

Arguments

dataset

A matrix or data.frame, usually with columns representing samples and rows representing genes or proteins.

na.rm

Logical. If remove na before calculating bi. If False, bi will not be calculated for any row with NA,

verbose

A logical value; should the function output a stream of information while it is working?

Value

Returns a data frame containing six columns, with the rows corresponding to the rows of the original data set. The columns contain the four parameters from the normal mixture model (mu1, mu2, sigma, and pi) along with the standardized distance delta and the bimodal index BI.

Note

update from bimodalIndex BimodalIndex

References

Wang J, Wen S, Symmans WF, Pusztai L, Coombes KR. The bimodality index: A criterion for discovering and ranking bimodal signatures from cancer gene expression profiling data. Cancer Informatics, 2009 Aug 5; 7:199<e2><80><93>216.


lileok/projectR documentation built on May 21, 2019, 6:15 a.m.