format_features: Format Features

View source: R/utils.R

format_featuresR Documentation

Format Features

Description

This utility function formats categorical and continuous features for plots.

Usage

format_features(dat, features, var_type)

Arguments

dat

Omic data matrix or matrix-like object with rows corresponding to probes and columns to samples.

features

Vector of length equal to sample size, or several such vectors organized into a list or data frame.

var_type

Character string specifying whether features are "Categorical" or "Continuous".


dswatson/bioplotr documentation built on March 3, 2023, 9:43 p.m.