Description Usage Arguments Value Examples
This function allows you to pull out the ChIP signal around the translation start
or end for all ORFs in the genome. It collects the signal between specified extensions
up and downstream of the chosen ORF limit.
The function takes as input the wiggle data as a list of 16 chromosomes.
(output of readall_tab
).
Note: Our wiggle data always contains gaps with missing chromosome coordinates
and ChIP-seq signal. The way this function deals with that is by skipping affected genes.
The number of skipped genes in each chromosome is printed to the console, as well as the
final count (and percentage) of skipped genes.
1 2 | signal_at_orf_se(inputData, gff, gffFile, limit = "start", upstrExt = 500,
downstrExt = 1500, saveFile = FALSE)
|
inputData |
As a list of the 16 chr wiggle data (output of |
gff |
Optional dataframe of the gff providing the ORF cordinates. Must be provided if
|
gffFile |
Optional string indicating path to the gff file providing the ORF cordinates. Must be
provided if |
limit |
String indicating whether to use translation start or end as a the
reference point. Accepts one of |
upstrExt |
Number specifying the extension in bp to collect upstream of the
reference limit. Defaults to |
downstrExt |
Number specifying the extension in bp to collect downstream of the
reference limit. Defaults to |
saveFile |
Boolean indicating whether output should be written to a .txt file (in current working
directory). If |
A local data frame with four columns:
chr
Chromosome number
position
Nucleotide coordinate (in normalized total length of 1 kb)
signal
ChIP-seq signal at each position (1 to 1000)
gene
Systematic gene name
1 2 3 4 5 6 7 | ## Not run:
signal_at_orf_se(WT, gff = gff)
signal_at_orf_se(WT, gffFile = S288C_annotation_modified.gff, limit = 'end',
upstrExt = 1500, downstrExt = 500, saveFile = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.