basic_genomic_regions_stat: Basic statistics on genomic regions

Description Usage Arguments Details Value Examples

View source: R/genomic_region_stat.R

Description

Basic statistics on genomic regions

Usage

1
2
3
basic_genomic_regions_stat(gr_list, annotation = NULL, annotation_color = NULL,
    main = NULL, species = "hg19", type = c("proportion", "number", "median_width"),
    by_chr = FALSE)

Arguments

gr_list

a list of GRanges.

annotation

a vector which contains levels of samples, better have names which correspond to the names of gr_list

annotation_color

colors corresponding to levels of annotations

main

title of the plot

species

species, necessary if type equals to proportion.

type

type of statistics

by_chr

take all chromosomes as a whole or calculate statistics for every chromosome?

Details

For type settings:

proportion

proportion of total length of regions compared to the whole genome

number

number of regions

median_width

median width of regions

Value

A data frame which contains statistics for each chromosome in each sample.

Examples

1
2
# There is no example
NULL

jokergoo/cotools documentation built on May 18, 2017, 6:05 a.m.