View source: R/changeSampleIDs.R
changeSampleIDs | R Documentation |
Change sample IDs in all fields of the SFE object where sample IDs are present, not just the colData.
changeSampleIDs(sfe, replacement)
sfe |
A |
replacement |
A named character vector whose names are the existing sample IDs to be changed and whose values are the corresponding replacements. |
An SFE object.
library(SFEData)
sfe <- McKellarMuscleData(dataset = "small")
sfe <- changeSampleIDs(sfe, c(Vis5A = "sample01"))
sampleIDs(sfe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.