relabels.Rd
Change sample/group labels of imported data.
relabels(se, attr = "sample_labels", values)
se | a SummarizedExperiment object from importCount. |
---|---|
attr | attribute to be changed. Could be sample_labels or group_labels. |
values | values to be set. |
a SummarizedExperiment object
file <- system.file("extdata", "count.gz", package= "deepToolsDownstream") se <- importCount(file) se <- relabels(se, "group_labels", c("gp1", "gp2")) plotProfile(se)