fcff_only_attr: Keep Only Specific Values Of A Column

Description Usage Arguments Value Examples

View source: R/fc_feat_filt.R

Description

A wrapper for fcff_exclude_attr that performs the exclusion behavior repeatedly in order to produce a dataset with just attr in attrs.

Usage

1
fcff_only_attr(fc, attr, attrs, clm)

Arguments

fc

The Fc Array data frame.

attr

The value of the thing you want gone.

attrs

A vector containing all the values that attr can take on in clm.

clm

What column in fc attr will be found in.

Value

The Fc Array data frame, with only the rows that have values in clm matching attr.

Examples

1
2
groups = c("PLACEBO", "VACCINE")
fc_only_placebo = fcff_only_attr(fc, "PLACEBO", groups, "group")

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