subset_feat_sets_ds: Subset dataset for custom analysis

View source: R/feat_sets.R

subset_feat_sets_dsR Documentation

Subset dataset for custom analysis

Description

Get a subset of dataset list object from custom analysis table

Usage

subset_feat_sets_ds(
  ds,
  feat_sets,
  i,
  colAnns,
  std.or.alt = "Standard",
  feat_sets_order = T
)

Arguments

ds

A dataset object (a list with vals, rowAnn, colAnn, comparison, name).

feat_sets

A list of 2 data frames for feature sets and parameters.

i

Row number in feat_sets$sets.

colAnns

A character vector of 1-2 column names in ds$colAnn. c(Parameter, Feature/Stain/Gene)

std.or.alt

string, specifies to use either "Standard" or "Alternative" parameters.

feat_sets_order

Logical, should we preserve feat_sets order?

Value

A list object specifying: ds, colAnns, feat_sets_name (name of custom analysis)


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.