transferColDataToAssay {scp}R Documentation

Transfer the colData to an Assay

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

transferColDataToAssay(obj, i)

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

data("scp1")
colData(scp1[["peptides"]])
scp1 <- transferColDataToAssay(scp1, i = "peptides")
colData(scp1[["peptides"]])


[Package scp version 1.0.0 Index]