Description Usage Arguments Details Value Author(s) See Also Examples
This function returns a GRangesList
object asigning promoter regions
to probes. The assignment of transcripts to probes and the
transcriptional start sites must be given as arguments.
1 | matchProbeToPromoter(probeToTranscript, transcriptToTSS, promWidth = 4000, mode = "union", fix = "center")
|
probeToTranscript |
A |
transcriptToTSS |
A
|
promWidth |
Width of the promoter regions in base pairs. Promoters are defined
as |
mode |
How probes with multiple transcripts should be handled. Must be either "union", "keepAll" or "dropMultiple". (default "union") |
fix |
Denotes what to use as anchor when defining the promoter region. Must be either "center", "start" or "end". "Center" means that the TSS is in the middle of the promoter, whereas "end" means that the promoter is placed upsream of the TSS. (default "center") |
More than one transcript can be assigned to one probe in the given
probeToTranscript
argument. Several options how to handle
such cases can be choosen by argument mode
. "union":
The union of all promoters is calculated and assigned to the probe.
"keepAll": All promoters of all transcripts are assigned to the
probe. If some transcript have identical TSSs, the same promoter
region occurs several times. "dropMultiple": All probes that have
more than one transcript with different TSS are removed.
The argument transcriptToTSS
must have at least 4 columns
giving the information as described above. The column names are not
decisive, but their position.
An object of class GRangesList
with one element for each probe.
If mode
is not set to "dropMultiple", GRanges
may consist
of more than one range. The names of the lists' elements are the probe
IDs and additionally, each GRanges
has a meta data column
"probe" giving the corresponding probe ID.
Hans-Ulrich Klein (h.klein@uni-muenster.de)
1 2 3 4 5 6 7 8 9 10 11 12 13 | probeToTrans <- list("101"="ENST00011",
"102"=c("ENST00021", "ENST00022"),
"103"=NA)
transToTSS <- data.frame(
transID=c("ENST00011", "ENST00021", "ENST00022"),
chr=c("1", "1", "1"),
tss=c(100000, 200000, 201000),
strand=c("-", "+", "+"))
matchProbeToPromoter(probeToTrans, transToTSS,
promWidth=4000, mode="union")
matchProbeToPromoter(probeToTrans, transToTSS,
promWidth=4000, mode="keepAll")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.