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/importomics documentation built on Oct. 29, 2024, 3:19 p.m.