MarrProc: MarrProc

Description Usage Arguments Value Examples

View source: R/MarrProc.R

Description

This function is a helper function that computes distributions of reproducible sample pairs per feature and reproducible features per sample pair for the function Marr.

Usage

1
MarrProc(object, alpha = 0.05)

Arguments

object

an object which is a matrix or data.frame with features (e.g. metabolites or genes) on the rows and samples as the columns. Alternatively, a user can provide a SummarizedExperiment object and the assay(object) will be used as input for the Marr procedure.

alpha

(Optional) level of significance to control the False Discovery Rate (FDR). Default is 0.05.

Value

A list of percent reproducible statistics including

samplepairs

the distribution of percent reproducible features (column-wise) per sample pair

features

the distribution of percent reproducible sample pairs (row-wise) per feature

Examples

1
2
data <- matrix(rnorm(2400), nrow=200, ncol=12)
data_MarrProc <- MarrProc(object=data, alpha = 0.05)

Ghoshlab/marr documentation built on Oct. 3, 2021, 3:20 p.m.