basicFormatter: operate on a character vector to derive a DataFrame,...

Description Usage Arguments Value Examples

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

1
basicFormatter(x, spltok = "_")

Arguments

x

character vector

spltok

token to use in strsplit

Value

a DataFrame instance

Examples

1
2
3
4
5
6
some = c('Adipose_Subcutaneous_allpairs_v7_eQTL',
  'CD14_DS17215_hg19_FP',
  'CD19_DS17186_hg19_FP',
  'ENCFF001WGV_hg19_HS',
  'ENCFF994OCD_hg19_HS')
basicFormatter(some)

vjcitn/TxRegInfra documentation built on July 6, 2019, 10:47 p.m.