basicFormatter {TxRegInfra}R Documentation

operate on a character vector to derive a DataFrame, splitting on a tokenand retrieving first and last split fragments as 'base' and 'type' fields

Description

operate on a character vector to derive a DataFrame, splitting on a tokenand retrieving first and last split fragments as 'base' and 'type' fields

Usage

basicFormatter(x, spltok = "_")

Arguments

x

character vector

spltok

token to use in strsplit

Value

a DataFrame instance

Examples

some = c('Adipose_Subcutaneous_allpairs_v7_eQTL',
  'CD14_DS17215_hg19_FP',
  'CD19_DS17186_hg19_FP',
  'ENCFF001WGV_hg19_HS',
  'ENCFF994OCD_hg19_HS')
basicFormatter(some)

[Package TxRegInfra version 1.10.0 Index]