Learn R Programming

bedr (version 1.1.3)

get.strand: get BEDPE ID from VCF ID

Description

Get strand informattion for each breakpoint from the VCF file (ALT or STRAND column). Used in the `vcf2bedpe` function.

Usage

get.strand(df)

Value

A column vector of strand information for each breakpoints

Arguments

df

a dataframe object from a VCF file

Author

Helena Winata

Examples

Run this code
if (FALSE) {
  name <- get.strand(x.vcf)
  }

Run the code above in your browser using DataLab