[chimerax-users] How to Color Each Atom (TAD) According to Its Gene Expression Level

Tom Goddard goddard at sonic.net
Sat May 15 11:07:41 PDT 2021


Hi Cardiff,

  The ChimeraX marker files use red, green, blue values in the range 0-1, not 0-255.  So your color components greater than 1 are probably all just being treated as 1.

	Tom

> On May 15, 2021, at 11:00 AM, Cardiff Jiang <z8jiang at ucsd.edu> wrote:
> 
> Dear ChimeraX Users Help,
> 
> I want to color each atom, which is a TAD, according to its genes’ expression value.
> 
> My code writes a Chimera marker file because it has RGB variables (shown below, the lower the gene expression, the lighter the shade of green). However, ChimeraX shows the entire model in the same color. How should I color each atom (TAD) according to its gene expression level?
> 
> 
> Thank you. 
> 
> Best regards,
> Zichen “Cardiff” Jiang
> -- 
> Best regards,
> Zichen “Cardiff” Jiang
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210515/66320f5e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 99061 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210515/66320f5e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.PNG
Type: image/png
Size: 73441 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210515/66320f5e/attachment-0003.png>


More information about the ChimeraX-users mailing list