findIntrons: Convert set of starts and ends of exons to introns

View source: R/dna.R

findIntronsR Documentation

Convert set of starts and ends of exons to introns

Description

Convert set of starts and ends of exons to introns

Usage

findIntrons(
  starts,
  ends,
  names = 1:length(startList),
  additionalColumns = NULL
)

Arguments

starts

starts for exons given as a comma separated string for each "gene" or list of numeric vectors

ends

ends for exons given as a comma separated string for each "gene" or list of numeric vectors

names

vector of each "gene". Output data.frame will contain a column name with name_in + intron number

additionalColumns

a data.frame with a row for each starts and columns giving additional information

Value

A data.frame with columns startAfter giving the base before the intron, length giving the length of intron and name of intron where name is the input names + "_in" + number. Note that startAfter and length are used to allow zero length introns

Examples

findIntrons(c('1,100','50,150,8000'),c('50,150','148,185,9000'))

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.