SampleGroupTable.find.group {componentSkeleton}R Documentation

Find a sample group that is composed of given group IDs

Description

Find a sample group that is composed of given group IDs. Return the group ID or NULL if the group is not found. If several groups are found, return the first.

Usage

SampleGroupTable.find.group(group.table, sample.ids, type = NULL, any.order = FALSE)

Arguments

group.table

SampleGroupTable object.

sample.ids

Source group IDs.

types

If not NULL, find only those groups that match some of the types given. Types is a combination of SAMPLE.GROUP.TABLE.SAMPLE, SAMPLE.GROUP.TABLE.MEDIAN and SAMPLE.GROUP.TABLE.RATIO. See SampleGroupTable.get.type for a description of the types.

any.order

If TRUE, sample group IDs are matched using set equality and order of samples is not relevant. Otherwise, the samples must match in the correct order.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]