transferColDataToAssay: Transfer the 'colData' to an Assay

Description Usage Arguments Value Examples

Description

The function transfers the colData from a QFeatures object to one of the assays it contains. The transfered data is bound to the existing colData of the target assay.

Usage

1

Arguments

obj

A QFeatures object

i

A numeric(1) or character(1) indicating which assay to transfer the colData to.

Value

A QFeatures object

Examples

1
2
3
4
data("scp1")
colData(scp1[["peptides"]])
scp1 <- transferColDataToAssay(scp1, i = "peptides")
colData(scp1[["peptides"]])

scp documentation built on Nov. 8, 2020, 8:20 p.m.