Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use pattern in circos

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use pattern in circos". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to use pattern in circos.

The parameter pattern is often seen in the example configuration files provided on the official website. This parameter is similar to fill_color in that it is used to specify the style of fill, except that fill_color is filled with color and pattern is filled with points and lines.

In the three block of hisograms and heatmap,links, you can use the pattern parameter to specify the fill pattern. The usage is as follows:

Pattern = checker

The value range of pattern parameter includes the following 9 types:

Solid

Hline

Hline-sparse

Vline

Vline-sparse

Checker

Checker-sparse

Dot

Dot-sparse

The configuration information of pattern is saved in etc/patterns.conf under the installation directory of the software.

In the tiles directory, you can find the corresponding pictures for each style. According to the name, it can be divided into the following five categories

1. Solid

2. Hlines

Hlines:

Hlines-sparse:

3. Vlines

Vlines:

Vline-sparse:

4. Checker

Checkers:

Checkers-sparse:

5. Dots

Dots:

Dots-sparse:

Solid represents complete filling, hlines represents horizontal filling, vlines represents vertical filling, checker represents lattice filling, and dots represents filling with dots; with the sparse suffix, it will be sparse compared with no suffix.

The default style of pattern is black and white, which can be changed in combination with the color attribute. There are two ways to write it:

1. Specify a specific color

Example

Color = red

Pattern = hlines

At this point, the white background will not change, but the default black font will be replaced with red.

two。 Specify the mode of replacement

Example

Color = white:red,black:orange

The two colors separated by colons mean to replace, white:red means to replace the default white background with red, and black:orange represents to replace black with orange.

The combination of pattern and color can make the fill more diversified. Look at an example.

The corresponding configuration file is

Karyotype = data/karyotype/karyotype.human.txtchromosomes_units = 1000000chromosomes_display_default = yesfile = data/8/15/links.txtribbon = yesflat = yesradius = 0.95rbezier_radius = 0rcrest = 0.2condition = rand () < 0.5pattern = eval ((qw (hline vline checker dot)) [rand (4)]) color = black:dblue White:vlbluez = 10condition = rand () < 0.5pattern = eval ((qw (hline vline checker dot)) [rand (4)]) z = 5 Thank you for your reading The above is the content of "how to use pattern in circos". After the study of this article, I believe you have a deeper understanding of how to use pattern in circos, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report