getGC: GC content computation for specific bins

Description Usage Arguments Value Author(s)

View source: R/getGC.R

Description

Add a column with GC content to a data.frame with 'chr', 'start' and 'end' column. Requires BSgenome for Hsapiens hg19; if not instructions to install it will be displayed.

Usage

1
2
getGC(bins.df,
  genome = BSgenome.Hsapiens.UCSC.hg19::BSgenome.Hsapiens.UCSC.hg19)

Arguments

bins.df

a data.frame with bin information. Columns 'chr', 'start' and 'end' are required.

genome

the BSgenome object with the genome. Usually BSgenome.Hsapiens.UCSC.hg19 or BSgenome.Hsapiens.UCSC.hg38.

Value

the same input data.frame with an extra column 'GCcontent'.

Author(s)

Jean Monlong


jmonlong/PopSV documentation built on Sept. 15, 2019, 9:29 p.m.