get_psi_samples: Get samples from PSI input table

View source: R/get_psi_samples.R

get_psi_samplesR Documentation

Get samples from PSI input table

Description

Get samples from PSI input table

Usage

get_psi_samples(df, config = NULL, value = TRUE)

Arguments

df

A data frame of PSI input values.

config

Config data frame

value

If TRUE, then returns the sample names. Otherwise, return the indices.

Details

When config is provided, then the samples from the SampleName column are used to find the indices in the PSI table.

Value

If value = TRUE, A character vector consisting of sample names. Otherwise, a numeric vector of indices.

Examples

## Not run: 
get_psi_samples(psi)

## End(Not run)

kcha/psiplot documentation built on March 27, 2022, 4:20 a.m.