Description Usage Arguments Value Examples
Set sample level annotations for bagel object
1 | set_sample_annotations(bay, annotations)
|
bay |
Bagel object we input sample into |
annotations |
Sample DataFrame |
Sets sample_annotations slot no return
1 2 3 4 | bay <- readRDS(system.file("testdata", "bagel_sbs96.rds", package = "BAGEL"))
sample_annotations <- read.table(system.file("testdata",
"sample_annotations.txt", package = "BAGEL"), sep = "\t", header=TRUE)
set_sample_annotations(bay, data.table::as.data.table(sample_annotations))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.