mergeAssays-LongTable-method: Endomorphically merge assays within a 'LongTable' or...

mergeAssays,LongTable-methodR Documentation

Endomorphically merge assays within a LongTable or inheriting class

Description

Endomorphically merge assays within a LongTable or inheriting class

Usage

## S4 method for signature 'LongTable'
mergeAssays(object, x, y, target = x, ..., metadata = FALSE)

Arguments

object

A LongTable or inheriting class.

x

character(1) A valid assay name in object.

y

character(1) A valid assay name in object.

target

character(1) Name of the assay to assign the result to. Can be a new or existing assay. Defaults to x.

...

Fallthrough arguments to merge.data.table to specify the join type. Use this to specify which columns to merge on. If excluded, defaults to by=assayKeys(objecty, y).

metadata

logical A logical vector indicating whether to attach metadata to either assay before the merge occurs. If only one value is passed that value is used for both assays. Defaults to FALSE.

Value

A copy of object with assays x and y merged and assigned to target.

Author(s)

Christopher Eeles

See Also

merge.data.table


bhklab/CoreGx documentation built on March 14, 2024, 3:04 a.m.