22-08-2023
Docs:
06-06-2023
Docs:
05-04-2023
Bug:
05-04-2023
param:
alpha_val
: modify transparency of marks14-09-2022
27-12-2021
circularPlot=TRUE
now compatible with
chromatids=TRUE
showing chromatids in circ. plotscollapseCen
).chrRegion
possible (column in data.frame
dfMarkPos
): pcen
qcen
. It’s
behavior is similar to cen
param:
dfCenMarks
: deprecatedcollapseCen
: boolean, avoid spacing in ruler between
short arm and long arm.anchorHsizeF
: numeric, factor to modify horizontal size
of anchor 1
(default).Shiny:
yTitle
in code tab27-09-2021
markPer = c("5S","45S")
perMark
and posCalc
functions produce
data.frames
autoCenSize
,
leftNotesUpPosX
centromereSize
,
rulerIntervalMb
asymmetry
better dealing with unexpected
casesarmRatioCI
better dealing with unexpected
casesShiny:
stats
to export indices and marks’ statsBugs:
showMarkPos= TRUE
param:
rulerIntervalMb
: Use data in millionsleftNotesUpPosX
: numeric, move up left notes to the
right or left (x axis)autoCenSize
boolean, when TRUE
ignores
centromereSize
centromereSize
: Apparent size of centromeres. Requires
autoCenSize = FALSE
showBandList
in posCalc
function to avoid
adding mark names19-05-2021
Shiny:
runBoard()
function23-04-2021
labelOutwards=TRUE
12-04-2021
rentrez
package and plotting of
chromosomes in shiny appgenBankReadIF
functionparam:
markN
numeric, vertices number for round corners of
marks02-03-2021
exProtein
(param:
startPos
, pMarkFac
) and inProtein
for circular plots also.inProtein
genBankReadIF
chrWidth
and other param. in
circular plotsstartPos
,
pMarkFac
,cenFormat
,cenFactor
bannedMarkNameAside
,
xModifier
, roundedCen
param:
bannedMarkNameAside
renamed to
bMarkNameAside
startPos
numeric, factor to increase separation of
exProtein
marks to chromosome. Defaults to
0
pMarkFac
numeric, fraction of chr. size for
exProtein
style marks. Defaults to 0.25
xModifier
was modified, now quotient of
chrWidth
roundedCen
: deprecated, see cenFormat
cenFormat
: character, when "triangle"
,
cen. has triangular aspect. When "rounded"
, it has rounded
aspect (Default). "inProtein"
for using the mark with style
of same name.cenFactor
: numeric, modifies any cen. mark and cen.
size. Defaults to 1
Shiny App:
.rds
too05-02-2021
runBoard()
leftNotesUp
(OTUasLeftNote
)param:
anchorTextMoveParenX
numeric, for plots with
anchorTextMParental
move text in X axis. Defaults to
0
anchorTextMoveParenY
numeric, for plots with
anchorTextMParental
move text in Y axis. Defaults to
0
OTUasLeftNote
boolean, when TRUE
adds OTU
(species) name to the left-up30-11-2020
chrNameUp
column added.param:
leftNotesUpPosY
numeric, move up-left-notes
leftNotesUp
down or up (y axis)15-10-2020
mapGGChr
and mapGGChrMark
anchor
param:
addMissingOTUBefore
: character, when you want to add
space (ghost OTUs) before one or several OTUs, pass the names of OTUs
after the desired space in a character vector
i.e. c("species one","species five")
karAnchorRight
: character, OTUs’ add anchor to the
right of this OTU (names of karyotypes). For
verticalPlot=FALSE
anchorText
: character, text to add to
anchor
structure near symbol. See anchor
.
Defaults to ""
anchorTextMParental
: character, designed to fill with a
character object the space left of a missing parental in the
anchor
structure.anchorTextMoveX
: numeric, for vertical plots with
anchorText
move text in X axis. Defaults to
0.5
anchorTextMoveY
: numeric, for horizontal plots with
anchorText
move text in Y axis. Defaults to
1
anchorLineLty
: numeric, type of line in
anchor
, corresponds to lty
. Defaults to
1
16-09-2020
verticalPlot=FALSE
karAnchorLeft
moveAllKarValueY
,
moveAllKarValueHor
leftNotesUp
dotsAsOval
convert dots style to one oval. not for
circ. plots.useOneDot
now for regular plots (non-circular)
also.param:
verticalPlot
: boolean, when TRUE
karyotypes are plotted vertically, otherwise, horizontally. Defaults to
TRUE
karSpaceHor
: numeric, separation among horizontal
karyotypes. When verticalPlot=FALSE
. Defaults to
0
karAnchorLeft
: character, OTUs’ names of karyotypes to
the right of your desired anchor. For
verticalPlot=FALSE
moveAllKarValueHor
: numeric, similar to
mkhValue
, but affects all karyotypes.moveAllKarValueY
: numeric, similar to
moveAllKarValueHor
, but affects y axis.leftNotesUp
: data.frame, (to the left), similar to
leftNotes
, but intended for placement over kar.leftNotesPosX
: (0.5
) numeric, moves left
notes in the x axisnotesPosX
: (0.5
) numeric, moves right
notes in the x axisnoteFont
: numeric 1
for normal,
2
for bold, 3
for italics, 4
for
bold-italics. See notes
leftNoteFont
: numeric 1
for normal,
2
for bold, 3
for italics, 4
for
bold-italics. See leftNotes
leftNoteFontUp
: numeric 1
for normal,
2
for bold, 3
for italics, 4
for
bold-italics. See leftNotesUp
parseTypes
: boolean, parse in notes
the
Citrus chr. types names. Creates subindex pos. for FL.parseStr2lang
: bolean, parse string in
notes
with function
str2lang(paste0("paste(",note,")") )
for ex:
"italic('C. sinensis'), ' Author'"
. See notes
,
leftNotes
,leftNotesUp
.gishCenBorder
: boolean, when TRUE
, cen.
mark border color is the same as mark color, ignoring
colorBorderMark
. No default.hideCenLines
: numeric, factor to multiply line width
(lwd) used for covering cen. border, when chrColor
is
white
or when gishCenBorder=TRUE
markNewLine
, character, character to split mark Names
into different text lines. Applies to square
marks.
Defaults to NA
mylheight
, numeric, for markNewLine!=NA
;
is equivalent to lheight
of par
: “The line
height multiplier. The height of a line of text (used to vertically
space multi-line text) is found by multiplying the character height both
by the current character expansion and by the line height multiplier.”
Defaults to 0.7
.bannedMarkNameAside
: boolean, when TRUE
and legend="inline"
, shows marks in
bannedMarkName
as legend="aside"
would do. See
bannedMarkName
forbiddenMark
: character, character string or vector
with mark names to be removed from plot. Not the marks but the
labels.lwd.marks
: thickness of most marks. Except
cM
marks and centr. related marks. See
lwd.chr
, lwd.cM
dotsAsOval
: boolean, use oval instead of two dots in
style of marks dots
. Defaults to FALSE
. See
useOneDot
. Not useful for chromatids=TRUE
or
circularPlot=TRUE
29-07-2020
squareLeft
new style of mark. as square
but with legend to the left when inline.chrNameUp
for name over kar.OTUfont=3
(italics), var. name present inside
'
is not shown in italicsnotesLeft
deprecated pass data.frame to
leftNotes
ylabline
renamed to xPosRulerTitle
param:
groupSepar
: numeric, factor for affecting chr. spacing
chrSpacing
among groups. Defaults to 0.5
useMinorTicks
: boolean, display minor ticks between
labeled ticks in ruler. See miniTickFactor
. Defaults to
FALSE
. (ticks without label)miniTickFactor
: numeric, number of minor ticks for each
labeled tick. See useMinorTicks
. Defaults to
10
xPosRulerTitle
: (2.6
) Modifies the
horizontal position of the title of rulers (Mb, etc). Moves to left from
1st chr. in chrSpacing
timesyPosRulerTitle
: numeric, affects vertical position of
ruler title. Defaults to 0
markPer
: character, name of mark to calculate % of mark
in chr. and add it to plot. See perAsFraction
perAsFraction
: boolean, when TRUE
% is
shown as fraction. Defaults to FALSE
. See
markPer
showMarkPos
: boolean, adds position of marks under
karyotype (fraction 0-1) when TRUE
. Defaults to
FALSE
bToRemove
: character, bands to remove from calc. of
pos.chrSize
show chr. size under karyo.chrNameUp
use col. of the same name to add secondary
name over kar.classMbName
“chromosome” name when in MbpclasscMName
“chromosome” name when in cMclassChrName
“chromosome” name when in μmclassChrNameUp
“chromosome” name
chrNameUp
classGroupName
name of title of groupsnsmall
digits for rounding of chrSize
chrSizeMbp
show chr. size Mbp requires
col. Mbp
groupName
, hide or show group nameleftNotes
, similar to notesleftNotesPos
, xleftNotesPosY
, ymoveKarHor
, move kar. to rightmkhValue
, amount to move to rightanchor
, display anchor for moveKarHor OTUsanchorVsizeF
factor to modify vertical size of
anchormoveAnchorV
, move anchor vertical portionmoveAnchorH
, move anchor horizontal portionpchAnchor
, symbol in anchorrulerPosMod
deprecated01-07-2020
main changes:
citrusSize
, citrusMarkPos
,
markOverCMA
param: (plotIdiograms
)
efZero
threshold for checking if != 0orderChr
, order of chr. Replaces
orderBySize
- deprecated. Values = size
,
original
, name
, group
orderBySize
- deprecatednotesLeft
note position to the left when
TRUE
notesPosY
y axis modify notes positionchrIdPatternRem
regex pattern to remove from chr.
names02-06-2020
w
position marks when
inline
cenStyle
coloringparam:
chromatids
show separated chromatidsholocenNotAsChromatids
do not use chromatids in
holocen.arrowsBothChrt
prints arrow marks in both
chromatidsexcHoloFrArrToSide
excludes holocentrics from
arrowsToSide config.xModifier
separation among chromatidsxModMonoHoloRate
shrink holocen. separ among chromatids
with this quotient.remSimiMarkLeg
remove “duplicated” name of labels when
presence of pseudoduplicates arising from pattern
bannedMarkName
remove this mark name from labels
(legends)defCenStyleCol
color for external part of marks with
cenStyle
roundedCen
rounded centromerelwd.mimicCen
line width for cenStyle
markssquareness
new name for roundness
(deprecated)23-04-2020
genBankReadIF
function, now allows duplicated field
namescMLeft
style of mark addedcM
and cMLeft
styles are used as
inline
type of legend
for arrows
(upArrow
,downArrow
)protruding
can be added to
dfMarkColor
data.frame to define aspect of cM
marksnamesToColumns
new function to avoid overlap of mark
names, for holoc. and monoc.params (namesToColumns
):
marksDf
data.frame of marksdfChrSize
data.frame, size of chr. same as plot.markType
of type
“downArrow”,“upArrow”,“cM”,“cMLeft”amountofSpaces
numeric, number of spaces for each
columncolNumber
numeric, number of columnsprotruding
numeric, same as plot, equivalent to cM
protrudingprotrudingInt
numeric, spacing of columns in terms of
width of chr. percent 1 = 100%.circularPlot
same as plotrotation
same as plotdefaultStyleMark
if some data in column style missing
fill with this oneorderBySize
same as in plot.halfModUp
when plotting several chromosomes in a
circular plot, corrects for alignment problems of “upArrows”, “cM”
labels.halfModDown
when plotting several chromosomes in a
circular plot, corrects for alignment problems of “downArrows”, “cMLeft”
labels.rotatMod
for circ. plots, when rotation diff. from
0
, corrects alignment of labels.params:
cMBeginCenter
modifies start position of
cM
and cMLeft
marksarrowsToSide
arrows are plotted near chr. margin27-03-2020
rentrez
downloaded datajoin
from genBank datacenStyle
to add constrictions
anywhere; upArrow
(clockwise in circular plot);
downArrow
(anti-clockwise in circular plot)legend="inline"
in circular plotsparams:
rulerTitleSize
: Font size of units (title)arrowhead
: proportion of head of arrow - lengthshrinkArrow
: proportion to shrink body of arrow -
widtharrowheadWidthShrink
: proportion to shrink arrowhead -
width26-02-2020
circularPlot=TRUE
and other
params. for circular plotgenBankReadIF
to read plasmid or prokaryote
data. Uses tidyr.swapChrRegionDfSizeAndMarks
to swap arm size
and marksmarkSize
absentparams:
legendYcoord
: modify mark legend Y pos (for common plot
also)callPlot
: call plot.new or use your device (when
FALSE)params: (circularPlot=TRUE)
shrinkFactor
: size of chr. in fraction of circleseparFactor
: separ among kar.labelSpacing
: among label and chr.chrLabelSpacing
: chr. label spaceOTUlabelSpacing
: OTU name spaceradius
: radiusOTUsrt
: angle of OTU name textOTUplacing
: add number and legend instead of OTU
nameuseOneDot
: one dot instead of twocircleCenter
: X coordinatecircleCenterY
: Y coordinateOTULabelSpacerx
: modify OTU name pos.OTULabelSpacery
: modify OTU name pos.OTUcentered
: OTU name centeredOTUjustif
: OTU name justif.OTUlegendHeight
: separ. of OTU names when
OTUplacing
05-02-2020
centromereSize = 0
protruding
centromereSize
is automatic (when absent), as well as
rulerInterval
params:
lwd.cM
: thickness of cM marksOTUfont
: style of font of OTU nameOTUfamily
: font family for OTU nameslwd.chr
: affects ruler too.defaultFontFamily
: modify font of texts.defaultStyleMark
fixCenBorder
affects cen. marks also.chrBorderColor
for adding optionally chr. border
color.cenColor
defaults to chrColor
now.colorBorderMark
forces custom color in border of
marks.borderOfWhiteMarks
, if TRUE
, when mark is
white, its border is black.ceilingFactor
number of significative digits to
consider when rounding ruler max. value.MbThreshold
created (substitutes
MbThresholds
)rulerIntervalMb
,
rulerIntervalcM
defaultStyleMark
,
protruding
, ceilingFactor
,
rulerInterval
, threshold
, MbUnit
,
specialChrWidth
, specialChrSpacing
,
specialOTUNames
, specialyTitle
specialOTUNames
, can have special:
specialChrWidth
, specialChrSpacing
, and
specialyTitle
. Useful for e.g. cM.ceilingFactor
,
rulerInterval
)MbUnit
,
specialyTitle
, yTitle
. yTitle
is
the common (micrometers). specialyTitle
is for OTUs in
specialOTUNames
(e.g. “cM”), and MbUnit
when
data in millions and OTU is not in specialOTUNames
06-01-2020
12 12 2019
asp = 1
onlydotRoundCorr
discouraged, requires
useXYfactor = TRUE
origin="t"
or
markDistType = "cen"
29 11 2019
centromere > 0
14 11 2019
29 10 2019
20 10 2019
13 10 2019
02 10 2019
plotIdiogramsHolo
deprecated27 09 2019
17 09 2019
centromereSize =0