tag_features: Tag features

tag_featuresR Documentation

Tag features

Description

Tag features

Usage

tag_features(
  object,
  keyvar,
  sep,
  features,
  tagvar = get_name_in_parent(features),
  verbose = TRUE
)

Arguments

object

SummarizedExperiment

keyvar

string : intersection fvar

sep

string : keyvar collapse separator

features

character vector : intersection set

tagvar

string :

verbose

TRUE or FALSE

Value

SummarizedExperiment

Examples

file <- system.file('extdata/atkin.somascan.adat', package = 'autonomics')
object <- read_somascan(file)
features <- AnnotationDbi::keys(org.Hs.eg.db::org.Hs.eg.db, keytype = 'SYMBOL')
object %<>% tag_features(keyvar = 'EntrezGeneSymbol', sep = ' ', features)
table(fdt(object)$features)

bhagwataditya/autonomics documentation built on Nov. 1, 2024, 5:47 a.m.