Description Usage Arguments Details Value See Also Examples
View source: R/summarizeRearrs.R
For each focal genome segment, summarize the number and type of rearrangement events and the number of breakpoints
1 2 | summarizeRearrs(SYNT, focalgenome, compgenome, ordfocal, remWgt = 0.05,
remThld = 0)
|
SYNT |
A list of matrices that store data on different classes of
rearrangements and additional information. |
focalgenome |
Data frame representing the focal genome, containing the
mandatory columns |
compgenome |
Data frame representing the compared genome (e.g., an
ancestral genome reconstruction, or an extant genome), with the first three
columns |
ordfocal |
Character vector with the IDs of the focal genome segments
that will be summarized. Have to match (a subset of) IDs in
|
remWgt |
A numeric value between |
remThld |
A numeric value between |
Only rearrangements that have components tagged with values larger than
remWgt
will be counted. For proper functioning, remWgt
should
correspond to the value that has been used to generate SYNT
. The
number of nonsyntenic moves is computed as the maximum of class I and class
II nonsyntenic moves per focal genome segment.
The number of breakpoints is computed based on the
getBreakpoints
function. To include the breakpoint of origin
for nonsyntenic and syntenic moves in the estimate, remThld
needs to
be set to zero (which is the default). Note that this may nevertheless
underestimate the number of breakpoints as the location of origin is not
determined for all rearrangements. When the input is a filtered version of
SYNT
(i.e., filtered with the filterRearrs
function),
the number of breakpoints may be overestimated. This can be prevented by
increasing the value of remThld
to match the value of remWgt
.
However, this may then underestimate the number of breakpoints as some
breakpoints of origin will not be counted. Breakpoints that fall on
identical positions are only counted once.
A matrix with the number of identified nonsyntenic moves, syntenic
moves, inversions, and breakpoints in columns, for the set of focal genome
segments in ordfocal
in rows.
computeRearrs
, filterRearrs
,
getBreakpoints
.
1 2 3 | SYNT <- computeRearrs(TOY24_focalgenome, TOY24_compgenome, doubled = TRUE)
summarizeRearrs(SYNT, TOY24_focalgenome, TOY24_compgenome, c("1","2","3"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.