define_samples: define_samples

View source: R/rc.feature.filter.cv.R

define_samplesR Documentation

define_samples

Description

define samples in each set

Usage

define_samples(ramclustObj, tag, return.logical = FALSE)

Arguments

ramclustObj

ramclustObj containing MSdata with optional MSMSdata (MSe, DIA, idMSMS)

tag

character vector of length one or two. If length is two, enter search string and factor name in $phenoData slot (i.e. c("QC", "sample.type"). If length one (i.e. "QC"), will search for this string in the 'sample.names' slot by default.

logical

optionally convert numeric vector with length equal to the number of matched samples to a logical vector of length equal to number of samples, with TRUE representing matching samples.

Value

samples found using the tag


cbroeckl/RAMClustR documentation built on Sept. 1, 2024, 1:50 a.m.