RegionsInfoPlot: Display basic information of regions of genome data group by...

Description Usage Arguments Value Examples

Description

Display basic information of regions of genome data group by Sample or Chromosome

Usage

1
RegionsInfoPlot(Regions, group = "Sample", statatisic = "Mean")

Arguments

group

a character specify group option, current only support 'Sample' and 'Chromosome'.

region

a data frame contains information of any experiments that result in regions of the genome showing "enrichment" which means above p-value threshold.

statistic

a character specify basic statistics option, current only support 'Mean' and 'Median'.

Value

ggplot graphs.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
library(ACME)
datdir <- system.file('extdata',package='ACME')
fnames <- dir(datdir)
example.agff <- read.resultsGFF(fnames,path=datdir)
calc <- do.aGFF.calc(example.agff,window=1000,thresh=0.95)
Regions <- findRegions(calc)
#example 1 mean p values of regions above p value threshhold grouped by samples
RegionsInfoPlot(Regions)

#example 2 mean p values of regions above p value threshhold grouped by Chromosomes
RegionsInfoPlot(Regions,group = "Chromosome", statatisic = "Mean")


#example 2 mean p values of regions above p value threshhold grouped by Chromosomes
RegionsInfoPlot(Regions,group = "Sample", statatisic = "Mean")

## End(Not run)

yiqiutang/genomeRegionsInfo documentation built on May 14, 2019, 4:04 a.m.