SampleGroupTable.add.group {componentSkeleton}R Documentation

Add a group to a SampleGroupTable object

Description

Return a modified SampleGroupTable object that contains the new group. If the group exists previously, it is replaced.

Usage

SampleGroupTable.add.group(group.table, group.id, type, sample.ids, description)

Arguments

group.table

SampleGroupTable object.

group.id

ID of the target group.

type

One of SAMPLE.GROUP.TABLE.SAMPLE, SAMPLE.GROUP.TABLE.MEDIAN or SAMPLE.GROUP.TABLE.RATIO. See SampleGroupTable.get.type for a description of the types.

sample.ids

Vector of sample group IDs for the group.

description

Description string of the group.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]