calc_ref_distribution: Generate mean distribution and quartiles of standard...

Description Usage Arguments Details Value Author(s)

View source: R/util.R

Description

calc_ref_distribution calculate reference distribution

Usage

1
calc_ref_distribution(file, common_rare = TRUE, sep = "\t")

Arguments

file

The full path of the reference data. String.

common_rare

An indicator whether to distinguish the features to be common and rare features. Bool. Default is TRUE.

sep

The seperator of the reference data. String. Default is \t.

Details

Given a reference dataset, perform arcsin square root transformation, and calculate its mean distribution, standard deviation of common and rare. The reference dataset should contain relative abundance.

Value

A list of two or three element: mean_distribution and (sd_quartile or sd_quartile_common, sd_quartile_rare).

Author(s)

Liu Cao


xyomics/bugpower documentation built on May 20, 2019, 5:08 p.m.