PeakProfile.Rd
Create ChIP Peak Binding Profile.
PeakProfile( peak.df, species = c("Human", "Mouse", "Rat", "Fly", "Arabidopsis", "Yeast", "Zebrafish", "Worm", "Bovine", "Pig", "Chicken", "Rhesus", "Canine", "Xenopus", "Anopheles", "Chimp", "E coli strain Sakai", "Myxococcus xanthus DK 1622"), gtf.file = NULL, weight.col = NULL, up.dist = 3000, down.dist = 3000, color = "red", conf = 0.95, up.rel = 0.2, down.rel = 0.2, by = c("gene", "transcript", "exon", "intron", "3UTR", "5UTR"), region.type = c("start_site", "end_site", "body"), nbin = NULL )
peak.df | Dataframe contains all consensus peaks. |
---|---|
species | Species used, chosen from "Human","Mouse","Rat","Fly","Arabidopsis", "Yeast","Zebrafish","Worm","Bovine","Pig","Chicken","Rhesus", "Canine","Xenopus","Anopheles","Chimp","E coli strain Sakai","Myxococcus xanthus DK 1622". Default: "Human". |
gtf.file | GTF file used to create TxDb object. Useful when specie you used is not available in |
weight.col | The column name of weight. Parameter of |
up.dist | The upstream distance from the TSS. Default: 3000bp. |
down.dist | The downstream distance from the TSS. Default: 3000bp. |
color | The color used for heatmap. Parameter of |
conf | The confidence interval. Parameter of |
up.rel | The percentage of total length of body regions used as upstream distance from the TSS.
Parameter of |
down.rel | The percentage of total length of body regions used as downstream distance from the TSS.
Parameter of |
by | One of 'gene', 'transcript', 'exon', 'intron' , '3UTR' , '5UTR'. Parameter of |
region.type | One of "start_site", "end_site", "body". Parameter of |
nbin | The amount of nbines. Parameter of |
List contains all profile plots.
library(DEbPeak) peak.file <- system.file("extdata", "debchip_peaks.bed", package = "DEbPeak") peak.df <- GetConsensusPeak(peak.file = peak.file) peak.profile <- PeakProfile(peak.df, species = "Mouse", by = "gene", region.type = "body", nbin = 800)#> >> preparing promoter regions... 2023-07-02 17时21分47秒 #> >> preparing tag matrix... 2023-07-02 17时21分47秒 #> >> preparing start_site regions by ... 2023-07-02 17时21分47秒 #> >> preparing tag matrix... 2023-07-02 17时21分47秒 #> >> generating figure... 2023-07-02 17时21分53秒#> >> done... 2023-07-02 17时21分54秒#> >> binning method is used...2023-07-02 17时21分54秒 #> >> preparing start_site regions by gene... 2023-07-02 17时21分54秒 #> >> preparing tag matrix by binning... 2023-07-02 17时21分54秒 #> >> Running bootstrapping for tag matrix... 2023-07-02 17时22分02秒 #> >> binning method is used...2023-07-02 17时22分02秒 #> >> preparing body regions by gene... 2023-07-02 17时22分02秒 #> >> preparing tag matrix by binning... 2023-07-02 17时22分02秒 #> >> preparing matrix with extension from (TSS-20%)~(TTS+20%)... 2023-07-02 17时22分02秒 #> >> 1 peaks(0.1536098%), having lengths smaller than 800bp, are filtered... 2023-07-02 17时22分05秒 #> >> Running bootstrapping for tag matrix... 2023-07-02 17时22分47秒