View source: R/updateAnnotation.R
updateAnnotation | R Documentation |
Annotations are dynamic by nature. As more experts look into the data and newer literature comes out, we expect annotations to be refined over time. We have accommodated this by allowing us and users to add new annotations to the SingleCellExperiment objects. If you want to propose a new annotation based on your experience or new evidence, please open an issue at https://github.com/massonix/HCATonsilData/issues.
updateAnnotation(sce, refAnnotation = "20220215", newAnnotation = "20220619")
sce |
A SingleCellExperiment object obtained using HCATonsilData function. |
refAnnotation |
string specifying the date of the annotation to use as reference. |
newAnnotation |
string specifying the suffix to add to the new column (annotation_*). |
A SingleCellExperiment object with additional an additional column (annotation_*) that contains more annotations.
# update the annotation from preprint (version 1.0) to publication (version 2.0)
## Not run:
sce <- updateAnnotation(
sce,
refAnnotation = "20220619",
newAnnotation = "20230508"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.