Skip to content

Add covariate

add metadata to pb_cds from cds

add_covariate(ccs, pb_cds, covariate, colname = covariate)

Arguments

ccs

a cell count set object

pb_cds

a pseudobulked cds

covariate

the column name in colData(ccs) to add to the pb_cds