Header Leaderboard Ad

Collapse

How to plot peak density heat map

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Luyi Tian
    replied
    you can plot heat map easily if you are familiar with matplotlib.

    custom code would like this:
    ###########
    from matplotlib import pyplot as PLT
    from matplotlib import cm as CM
    from matplotlib import axes

    ##create a figure and add a plot
    fig = PLT.figure(facecolor='w')
    ax1 = fig.add_subplot(2,1,1,position=[0.1,0.15,0.9,0.8])

    ##create a cmap object. it controls the color and some style in the heatmap
    ## you can change 'spectral' to other words. see the doc
    cmap = CM.get_cmap('spectral', 1000)

    ##create heatmap use the DATA and the cmap. vmin and vmax are the minimum and maximum value in your data
    map = ax1.imshow(DATA, interpolation="nearest", cmap=cmap,aspect='auto', vmin=0,vmax=15)

    ##then create the scale bar
    cb = PLT.colorbar(mappable=map, cax=None, ax=None,shrink=0.5)
    cb.set_label('Enrichment level')

    ##plot it
    PLT.show()
    ###########
    the DATA is like:
    DATA=[
    [1.4,2.2,4.7,6.1],
    [4.1,13.5,15.0,1.9],
    .....
    ]

    this is the website: http://matplotlib.org/
    it is very powerful. You can plot almost everything you want using this module
    Last edited by Luyi Tian; 02-26-2013, 05:50 AM.

    Leave a comment:


  • crazyhottommy
    replied
    Thanks so much! SeqMonk looks very powerful.

    Leave a comment:


  • simonandrews
    replied
    You can make these kinds of plot in SeqMonk (called the aligned probes plot). You can put them over any arbitrary region of either fixed or variable sizes.

    Leave a comment:


  • crazyhottommy
    replied
    Any python scripts for this kind of heatmap?
    Thanks!

    Leave a comment:


  • SF_mallish
    replied
    Hi Mathew,

    Probably you can use the program from HOMER software.



    Originally posted by mathew View Post
    I want revive this thread and would like to know if soemone can share the script here on forum or privatly or has any idea about a tool which can generate such heat maps of TSS distance vs tag density. Seqminer will not give thsi kind of Figure and is good mainly for Bam/ sam bed files of unprorocessed data.
    i am sure there are number of users who will be intrested in such heat maps.
    Thanks

    Leave a comment:


  • mathew
    replied
    any one has script or software to plot such heat maps

    I want revive this thread and would like to know if soemone can share the script here on forum or privatly or has any idea about a tool which can generate such heat maps of TSS distance vs tag density. Seqminer will not give thsi kind of Figure and is good mainly for Bam/ sam bed files of unprorocessed data.
    i am sure there are number of users who will be intrested in such heat maps.
    Thanks
    Last edited by mathew; 07-12-2012, 08:45 AM.

    Leave a comment:


  • inankai
    replied
    Thank you guys.
    seqMiner seems do the job.

    Leave a comment:


  • honey
    replied
    plot

    Seqminer will be closet to do this

    Leave a comment:


  • rebrendi
    replied
    looks like a custom script is needed

    Leave a comment:


  • inankai
    replied
    Please help about this topic.

    Leave a comment:


  • inankai
    replied
    Here is another example for this kind of heat map or high density peak map.
    Attached Files

    Leave a comment:


  • inankai
    started a topic How to plot peak density heat map

    How to plot peak density heat map

    I just start to take the bioinformatics part of my ChIP-seq experiments. and it is not too difficult for me to do mapping and peak calling. but I want to make further analysis of my data.
    Like, whether the transcription factor binding is significantly enriched in the promoters of genes belonging to the same pathway, TGFb for example. while not other pathways (JAK/STAT, Ras etc).

    So, I want to plot the binding peaks at the promoter of a specific set of genes, and rank the peaks based on the distance to TSS.

    Can anyone help to figure out, what software should I use?
    Or I have to write the script by myself, if so, should I use perl?
    I only have a bit of experience with Python.

    I attached a similar example.
    Attached Files

Latest Articles

Collapse

  • seqadmin
    How RNA-Seq is Transforming Cancer Studies
    by seqadmin



    Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
    09-07-2023, 11:15 PM
  • seqadmin
    Methods for Investigating the Transcriptome
    by seqadmin




    Ribonucleic acid (RNA) represents a range of diverse molecules that play a crucial role in many cellular processes. From serving as a protein template to regulating genes, the complex processes involving RNA make it a focal point of study for many scientists. This article will spotlight various methods scientists have developed to investigate different RNA subtypes and the broader transcriptome.

    Whole Transcriptome RNA-seq
    Whole transcriptome sequencing...
    08-31-2023, 11:07 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:18 AM
0 responses
5 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-20-2023, 09:17 AM
0 responses
8 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-19-2023, 09:23 AM
0 responses
25 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-19-2023, 09:14 AM
0 responses
7 views
0 likes
Last Post seqadmin  
Working...
X