splitn: The subtring extraction of a character vector

Description Usage Arguments Value Examples

View source: R/splitn.R

Description

Extract the subtrings of a character vector according to the matches to substring split within them.

Usage

1
splitn(strings, field, n)

Arguments

strings

A GenomicRanges object to be compared

field

A GenomicRanges object to be compared

n

The value of gr1 to be compared

Value

A data frame containing a summary of the GenomicRanges object

Examples

1
2
x<-'chr1:10000-10005'
splitn(x,':',1)

TheJacksonLaboratory/epihet documentation built on Dec. 22, 2020, 1:10 p.m.