mutateeach: Internally create or transform metadata of a...

View source: R/eachfunctions.R

mutateeachR Documentation

Internally create or transform metadata of a GenomicRangesList

Description

Internally create or transform metadata of a GenomicRangesList

Usage

mutateeach(x, ...)

Arguments

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.

Value

Transformed GRangesList object

Author(s)

Fursham Hamid

Examples

# Load dataset
data(query_exons)

# Create chr:start-end id for each entry
mutateeach(query_exons, id = paste0(seqnames, ":", start, "-", end))

fursham-h/factR documentation built on Aug. 20, 2023, 1:58 p.m.