Description Usage Arguments Value See Also Examples
View source: R/assembleProfiles.R
Assemble profiles from the results of the annotationCoverageAroundFeatures function.
For each gene/feature, the function creates a profile containing:
A region upstream of the feature ending with the upstream border of the feature (typically the TSS)
A region covering the body of the feature (possibly binned to normalize for different features' sizes)
A region downstream of the feature starting with the downstream border of the feature (typically the TES)
1 | assembleProfiles(annotcovr, sideDist = NULL)
|
annotcovr |
a list with 6
as produced by the |
sideDist |
Integer (optional). Distance to keep on each side of the features. Defaults to the maximum distance availabe in |
a list of 2 RleLists corresponding to:
Profiles_Sense
: RleList of profiles for the sense strand
Profiles_Antisense
: RleList of profiles for the antisense strand
annotationCoverageAroundFeatures
1 2 3 4 5 6 7 | ## Extract the profiles around (+/-50bp) the first 10 genes. We bin the genes in 3 bins only.
top10Prof <- annotationCoverageAroundFeatures(Genegr, features=1:10,
sidedist = 50,
usePercent = TRUE,
nbins=3)
## Assemble the profiles:
Prof <- assembleProfiles(top10Prof)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.