subset_dataset: Subset dataset list object to the rows and/or columns...

View source: R/subset.R

subset_datasetR Documentation

Subset dataset list object to the rows and/or columns specified

Description

Subset dataset list object to the rows and/or columns specified

Usage

subset_dataset(ds, rows_to_keep = NULL, cols_to_keep = NULL)

Arguments

ds

A dataset object (a list with any of vals, rowAnn, colAnn)

rows_to_keep

Numeric, logical or character vectors of rows to keep in subset. Note: character for named rows only

cols_to_keep

Numeric, logical or character vectors of columns to keep in subset. Note: character for named columns only

Value

A dataset subsetted to specified rows/columns


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