Description Usage Arguments Value
The function is used for plotting gene from reference gene list, the standard reference gene lists was generated by 'get_refgene' function in HandyCNV.
1 2 3 4 5 6 7 8 9 10 11 12 |
refgene |
reference gene list. Standard input file was generated by 'get_refgene' function. |
chr_id |
chromosome ID, should be the integer type only, such as 1 indicates Chromosome 1. |
start |
the start physical position used in the plot, the unit is Mb. |
end |
the end physical position used in plot, unit in Mb. |
show_name |
the default value of show_name = c(0, 160). accept the vectors only, unit in Mb. for example show_name = c(11.2, 12.4, 15.3, 18.4), means only plot the genes within the given interval |
cnv |
is support for both CNV and ROH, set cnv argument as TRUE will plot gene for CNV, otherwise will plot gene for ROH interval 11.2-12.4 Mb and 15.3-18.4 Mb, the maximum pairs of intervals are three. |
height_1 |
set height of gene plot. |
width_1 |
set width of gene plot. |
col_gene |
set the color of Gene, only work when the 'cnv' argument was set as 'TRUE'. |
gene_font_size |
set the size of gene font |
gene plot with given interval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.