Change sample/group labels of imported data.

relabels(se, attr = "sample_labels", values)

Arguments

se

a SummarizedExperiment object from importCount.

attr

attribute to be changed. Could be sample_labels or group_labels.

values

values to be set.

Value

a SummarizedExperiment object

Examples

file <- system.file("extdata", "count.gz", package= "deepToolsDownstream") se <- importCount(file) se <- relabels(se, "group_labels", c("gp1", "gp2")) plotProfile(se)