View source: R/eachfunctions.R
mutateeach | R Documentation |
Internally create or transform metadata of a GenomicRangesList
mutateeach(x, ...)
x |
GRangesList object |
... |
Name-value pairs of expressions. The name of each argument will be the name of a new metadata column, and the value will be its corresponding value. |
Transformed GRangesList object
Fursham Hamid
# Load dataset
data(query_exons)
# Create chr:start-end id for each entry
mutateeach(query_exons, id = paste0(seqnames, ":", start, "-", end))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.