fcff_feats_diff: Filter Features By Difference From Baseline

Description Usage Arguments Value Examples

View source: R/fc_feat_filt.R

Description

Filter features from an Fc Array data frame by their difference from baseline.

Usage

1
fcff_feats_diff(fc, diff_opts)

Arguments

fc

The Fc Array data frame.

diff_opts

A list containing the following sub-parameters:

  • diff_opts$base_ids Uhe row indices in fc that correspond to the subjects who represent baseline (say, those in the PLACEBO group).

  • diff_opts$test Which statistical test to use to determine difference from baseline.

  • diff_opts$alternative Alternative hypothesis (two.sided, either (two.sided/2)).

  • diff_opts$adj_method The method you want to use to adjust p-values. Use "none" as a passthrough.

Value

The p-values that represent the comparison between baseline and the other subjects using the test specified in diff_opts.

Examples

1
2
p_vals = fcff_feats_diff(fc, diff_opts)
keep = p_vals < 0.05

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