fcst_fochs: Calculate Fold Change For Fc Array Features

Description Usage Arguments Value

View source: R/fc_stat_test.R

Description

For each feature in an Fc Array data frame, calculate the fold change between the measurements of one group and another using method. Which group is the numerator in the fold change ratio is determined by the structure of comp_name.

Usage

1
fcst_fochs(fc, comp_name, method = median)

Arguments

fc

The Fc Array data frame. Must have two groups present.

comp_name

A string representing the name of the group comparison. This should be a contraction of the groups you are comparing, separated by an underscore. The first group in this string will be the numerator in the fold change ratios.

method

What method will be used to calculate fold change. The default is the median of each group's values.

Value

A vector of fold change values of the same length as fccu_first_feat_col(fc):ncol(fc).


kmorrisongr/fcan documentation built on Sept. 9, 2020, 10:12 a.m.