[R] how to build a heatmap like this
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Sat Oct 25 07:15:48 CEST 2014
Your question is hard to follow (too much genetics jargon?), and because you posted using HTML instead of plain text your table (?) is corrupted also.
You should read [1], [2], and might consider looking at Bioconductor [3].
[1] Posting Guide, mentioned at the bottom of this email
[2] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
[3] http://www.bioconductor.org
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
On October 22, 2014 6:44:58 PM PDT, escaping <young_2304 at hotmail.com> wrote:
>Hi, everyone,
>
>I am a new R user, and was required to build several heatmaps as shown
>in attached file. To reach it, I need to normalize the RPKM data of
>exon-level expression to generate Z-score using R. The data looks like
>mpleId
>
>
> geneName
>
>
> start
>
>
> end
>
>
> rpkm
>
>
>
>
> PC10-6
>
>
> KIF1B
>
>
> 10270764
>
>
> 10270936
>
>
> 4.00059
>
>
>
>
> PC10-6
>
>
> KIF1B
>
>
> 10292308
>
>
> 10292492
>
>
> 35.3023
>
>
>
>
> PC10-6
>
>
> KIF1B
>
>
> 10316305
>
>
> 10316381
>
>
> 85.9611
>
>
>
>
> PC10-6
>
>
> KIF1B
>
>
> 10318551
>
>
> 10318730
>
>
> 64.5961
>Exons and introns are required to shown on the heatmap.
>
>Does anyone know how to do it?
>
>Thanks a lot!
>
>Yizi
>
>
>
>
>
>------------------------------------------------------------------------
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list