TrackData {SMRUCC.genomics.Visualize.Circos.TrackDatas} .NET clr documentation

TrackData

Description

Data for tracks is loaded from a plain-text file. Each data point is stored on a separate line, except for links which use two lines per link.

The definition Of a data point within a track Is based On the genomic range, which Is a combination Of chromosome And start/End position.

(请注意,最终的行数据都是使用TrackData.ToString方法来生成的,@M:SMRUCC.genomics.Visualize.Circos.TrackDatas.TrackData.trackData 生成的只是绘图的原始数据,最终的style以及formats是在TrackData.ToString之中合成的,所以 请不要轻易的重写继承类的TrackData.ToString方法)

Data for tracks is loaded from a plain-text file. Each data point is stored on a separate line, except for links which use two lines per link. The definition Of a data point within a track Is based On the genomic range, which Is a combination Of chromosome And start/End position. For example,

 # the basis for a data point Is a range
 chr12 1000 5000

All data values, regardless Of track type, will be positioned Using a range rather than a Single position. To explicitly specify a Single position, use a range With equal start And End positions.

 # scatter, line, histogram And heat maps require a value
 chr12 1000 5000 0.25
 # stacked histograms take a list of values
 chr12 1000 5000 0.25,0.35,0.60
 # value for text tracks Is interpreted as text
 chr12 1000 5000 geneA
 chr12 1000 5000

except now two coordinates are specified.

 chr12 1000 5000 chr15 5000 7000

The parameters need to be compatible with the track type for which the file Is destined. Thus, a scatter plot data point might have

 chr12 1000 5000 0.25 glyph_size=10p,glyph=circle

whereas a histogram data point might include the Option To fill the data value's bin

 chr12 1000 5000 0.25 fill_color=orange

are populated automatically With the data point's associated property.

 # the URL for this point would be
 # http://domain.com/script?start=1000&end=5000&chr=chr12
 chr12 1000 5000 0.25 url=http//domain.com/script?start=[start]&end=[end]&chr=[chr]

Declare

            
# namespace SMRUCC.genomics.Visualize.Circos.TrackDatas
export class TrackData {
   # Chromosomes name
   chr: string;
   comment: string;
   end: integer;
   formatting: Formatting;
   start: integer;
}

        

.NET clr type reference tree

  1. use by property member formatting: Formatting

[Package {$package} version {$version} Index]