Description Usage Arguments Value Examples
View source: R/p03_get_narrowpeak_summit_seq.R
This function extract the DNA sequence around peak summit region from narrowPeak file
1 2 3 4 5 6 7 8 | get_peak_summit_seq(
file,
peakFormat = "narrowPeak",
sampleId = NULL,
genome,
length = 200,
column_suffix = TRUE
)
|
file |
peak file generated by macs2 |
peakFormat |
Peak file format. One of |
sampleId |
sample ID |
genome |
BSgenome object |
length |
Length of the region. Default: 200 |
column_suffix |
Whether to modify the column names to include sampleId. If TRUE, the new column names are of format: colName.sampleId |
A dataframe with three columns: name, summitRegion, summitSeq
1 | summitSeq = get_peak_summit_seq("test.narropeak", "sampleId", BSgenome.Afumigatus.AspGD.Af293, 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.