Description Usage Arguments Value References
Generate Plasit Genome Plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | PlotPlastidGenome(
plot.tables,
save = TRUE,
file.type = "pdf",
text.size = 1,
height = c(0.1, 0.2, 0.07),
file.name = NULL,
shadow = TRUE,
ir.gc = TRUE,
gc.per.gene = TRUE,
pseudo = TRUE,
legend = TRUE,
ssc.converse = FALSE,
lsc.converse = FALSE,
ira.converse = FALSE,
irb.converse = FALSE,
genome.length = TRUE,
total.gc = TRUE,
show.indel = TRUE,
gene.no = TRUE,
rrn.no = TRUE,
trn.no = TRUE,
organelle_type = TRUE,
background = "grey90",
gc.color = "grey30",
gc.background = "grey70",
info.background = "black",
ir.color = "#2F3941",
ssc.color = "#82B6E2",
lsc.color = "#299E96",
shadow.color = "#0000FF20",
psa.color = "#2A6332",
psb.color = "#4C8805",
pet.color = "#7F992C",
atp.color = "#9FBB3D",
ndh.color = "#FEEE50",
rbc.color = "#4D9E3F",
rpo.color = "#AE2D29",
rsp.color = "#D6AD7C",
rpl.color = "#9C7A4B",
clp_mat_inf.color = "#D9662D",
ycf.color = "#71B8A9",
trn.color = "#172C7F",
rrn.color = "#D1382A",
other_gene.color = "#7D7D7D",
show.genes = c("psa", "psb", "pet", "atp", "ndh", "rbc", "rpo", "rps", "rpl",
"clp|mat|inf", "ycf", "trn", "rrn", "OTHER"),
gene_axis_ir.color = ir.color,
gene_axis_ssc.color = ssc.color,
gene_axis_lsc.color = lsc.color,
cu.bias = TRUE,
customize.ring1 = NULL,
customize.ring1.type = "line",
customize.ring1.color = gc.color,
customize.ring2 = NULL,
customize.ring2.type = "line",
customize.ring2.color = gc.color,
customize.ring3 = NULL,
customize.ring3.color = gc.color
)
|
plot.tables |
a list contains information of IR region, gene, and gc
count of the genome. It can be generated by function |
save |
A logical value. If it is |
file.type |
A charactor. It indicates the format of the file in which the plot will be saved. Options are: "pdf", "png", "jpeg","bmp", "tiff". By default, it is set as "pdf". |
text.size |
A numeric value. It indicates the size of all texts in the
plot. For exmple, |
height |
A vector of numeric value. The elements of it indicat the height of gene layer, GC count layer and IR region layer, respectively. Default setting is "0.1, 0.2, 0.07". The taltal circle plot region always has a radius of 1, so a height of 0.1 means 10% of the circle radius. |
file.name |
A charactor. It indicates the name of the file in which the plot will be saved. By default, it is set as the specie's name. |
shadow |
A logical value. If it is |
ir.gc |
A logical value. If it is |
gc.per.gene |
A logical value. If it is |
pseudo |
A logical value. If it is |
legend |
A logical value. If it is |
ssc.converse |
A logical value. If it is |
lsc.converse |
A logical value. If it is |
ira.converse |
A logical value. If it is |
irb.converse |
A logical value. If it is |
genome.length |
A logical value. If it is |
total.gc |
A logical value. If it is |
show.indel |
A logical value. If it is |
gene.no |
A logical value. If it is |
rrn.no |
A logical value. If it is |
trn.no |
A logical value. If it is |
background |
An R color object. It indicates the color for the background of entire plot area. |
gc.color |
An R color object. It indicates the color for the lines in gc count plot. |
gc.background |
An R color object. It indicates the color for the background of gc count plot area. |
info.background |
An R color object. It indicates the color for the background of central area where species' information was shown. |
ir.color |
An R color object. It indicates the color for the background of IR sectors. |
ssc.color |
An R color object. It indicates the color for the background of SSC sectors. |
lsc.color |
An R color object. It indicates the color for the background of LSC sectors. |
shadow.color |
An R color object. It indicates the color for the shadow casted from IR sectors. |
psa.color |
An R color object. It indicates the color for genes of photosystem I |
psb.color |
An R color object. It indicates the color for genes of photosystem II |
pet.color |
An R color object. It indicates the color for genes of cytochrome b/f complex |
atp.color |
An R color object. It indicates the color for genes of ATP synthesis |
ndh.color |
An R color object. It indicates the color for genes of NADH dehydrogenase |
rbc.color |
An R color object. It indicates the color for genes of RubisCO larg subunit |
rpo.color |
An R color object. It indicates the color for genes of RNA polymerase |
rsp.color |
An R color object. It indicates the color for genes of small ribosomal protein |
rpl.color |
An R color object. It indicates the color for genes of large ribosomal protein |
clp_mat_inf.color |
An R color object. It indicates the color for genes of clpP, matK, or infA |
ycf.color |
An R color object. It indicates the color for genes of hypothetical reading frame |
trn.color |
An R color object. It indicates the color for genes of transfer RNA |
rrn.color |
An R color object. It indicates the color for genes of ribosomal RNA |
other_gene.color |
An R color object. It indicates the color for other genes |
gene_axis_ir.color |
An R color object. It indicates the color for other genes. |
gene_axis_ssc.color |
An R color object. It indicates the color for other genes. |
gene_axis_lsc.color |
An R color object. It indicates the color for other genes. |
cu.bias |
A logical value. If it is |
customize.ring1 |
A data frame. It must contain 2 columns:
|
customize.ring1.type |
A charactor. It indicate the plot type in customize.ring1. Avaliable values are "line", "line + filling", "line + dot", "line + dot + filling", "step line", "step line + filling", "vertical line" |
customize.ring1.color |
An R color object. It indicates the color for the plots in customized ring 1. |
customize.ring2 |
A data frame. It must contain 2 columns:
|
customize.ring2.type |
A charactor. It indicate the plot type in customize.ring2. Avaliable values are "line", "line + filling", "line + dot", "line + dot + filling", "step line", "step line + filling", "vertical line" |
customize.ring2.color |
An R color object. It indicates the color for the plots in customized ring 2. |
customize.ring3 |
A data frame. It must contain 2 columns:
|
customize.ring3.color |
An R color object. It indicates the color for the plots in customized ring 3. |
organelle |
A logical value. If it is |
show.gene |
A vector of characters. It indicates which classes of genes will be shown on the plot. A valiable values are "psa","psb","pet","atp", "ndh","rbc", "rpo","rps","rpl", "clp|mat|inf","ycf", "trn","rrn", "OTHER" |
A plot for chloroplast genome.
Supek, Fran, and Kristian Vlahovicek. “Comparison of codon usage measures and their applicability in prediction of microbial gene expressivity.” BMC bioinformatics vol. 6 182. 19 Jul. 2005, doi:10.1186/1471-2105-6-182
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.