BGI-shenzhen / LDBlockShow

LDBlockShow: a fast and convenient tool for visualizing linkage disequilibrium and haplotype blocks based on VCF files
MIT License
136 stars 40 forks source link

About the size of the labels x and y axis #41

Open pbreeder opened 7 months ago

pbreeder commented 7 months ago

Hello, I have not find size options related to labels, how can I edit or add font size codes? Thanks

hewm2008 commented 7 months ago

you can see them by more help
[ perl bin/ShowLDSVG -help ] and [ perl bin/ShowLDSVG -MoreHelp ]

so you can run try
perl bin/ShowLDSVG -XYLabFontSizeRatio 1.5 -YLabNumSizeRatio 1.5 ...

perl bin/ShowLDSVG -MoreHelp

     -SNPNameSizeRatio    <f>   : Zoom the Spe SNP Name Size [1.0]
     -XYLabFontSizeRatio  <f>   : Zoom the XYlab Font Size [1.0]
     -PointSizeRatio      <f>   : Zoom the GWAS point size [1.0]
     -adjHeatmap          <f>   : The ratio[-0.250,0.25] to Up[-0.25,0] or Down[0,0.25] the HeatMap in canvas [0]
     -ShiftYGWAS          <f>   : up or down the GWAS Figture[0]
     -InYName             <s>   : Show The GWAS Y lab Name(auto)
     -WidthBlock          <s>   : the edge-width of LD Blocks [1]
     -ShiftXEndTxt        <f>   : shift the X of End txt [0]
     -ShiftYName          <f>   :  up or down the GWAS Y-lab Name [0]
     -NoHeatMapPlot             : Not plot the LD heatMap part

     -YLabNumSizeRatio  [1.0] / -GWASSpeSNPSizeRatio [1.0] /-GFFGeneSizeRatio [1.0]
     -GFFGeneNameSizeRatio [1.0] / -SNPCirSizeRatio [1.0] /-GFFGeneNameRotate [0]
     -crBG [white] /-ShowTriangleGrid