Description Usage Arguments Value Author(s) Examples
View source: R/callPeakDistance.R
Calculate the inter-peak distance of insert size
1 2 3 4 5 6 7 8 9 10 | callPeakDistance(
path = getwd(),
groups,
limit,
outfmt,
summary,
mincount,
input_type,
...
)
|
path |
The root folder containing all groups folders. Default is the present working folder. |
groups |
The name of the groups, the input value should be vector, e.g. groups=c('group1','group2'). Default is all folders in the folder path. |
limit |
The insert size range that will be focused on. Default value is 'limit = c(35,135)'. |
outfmt |
The output format, a 'list' or 'dataframe'. Default is dataframe. |
summary |
If TRUE, summarize the output. |
mincount |
The minimum count value of inter-peak distance in the summary. |
input_type |
Character. The input file format, 'picard' or 'bam'. The bam files has to be marked duplicates. |
... |
Further arguments passed to or from other methods. |
The function returns the inter peak distance in list or dataframe format.
Haichao Wang
1 2 3 4 | # Get the path to example data.
path <- examplePath("groups_picard")
# Calculate the inter-peak distance.
df <- callPeakDistance(path = path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.