features_in_single_condition: I want an easy way to answer the question: what features are...

View source: R/expt.R

features_in_single_conditionR Documentation

I want an easy way to answer the question: what features are in only condition x?

Description

The answer to this lies in a combination of subset_expt() and features_greater_than().

Usage

features_in_single_condition(
  expt,
  cutoff = 2,
  factor = "condition",
  chosen = NULL
)

Arguments

expt

An experiment to query.

cutoff

What is the minimum number of counts required to define 'included.'

factor

What metadata factor to query?

chosen

Either choose a subset or all conditions to query.

Value

A set of features.

See Also

[subset_expt()]

Examples

 ## Not run: 
  unique_genes

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.