calcGC: Calculate GC content and append to dataframe

View source: R/supp_functions.R

calcGCR Documentation

Calculate GC content and append to dataframe

Description

This function the GC content of GenomicRanges Tiles and appends it to an existing dataframe. This function uses the Hsapiens genome from BSgenome.Hsapiens.UCSC.hg19.

Usage

calcGC(df, tiles, GC_cutoff)

Arguments

df

existing dataframe

tiles

GRanges tiles object

GC_cutoff

Maximum GC content to be included

Value

dataframe containing GC content, count, and frequency.


qiuxintao101/scCNV documentation built on July 31, 2022, 2:10 p.m.