<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Cardiff,<div class=""><br class=""></div><div class=""> 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.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 15, 2021, at 11:00 AM, Cardiff Jiang <<a href="mailto:z8jiang@ucsd.edu" class="">z8jiang@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Dear ChimeraX Users Help,</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><div dir="auto" class="">I want to color each atom, which is a TAD, according to its genes’ expression value.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">My code writes a Chimera marker file because it has RGB variables (shown below, the <span class="">lower the gene expression, the lighter the shade of green</span>). However, ChimeraX shows the entire model in the same color. How should I color each atom (TAD) according to its gene expression level?</div><div dir="auto" class=""><img src="https://mail.google.com/mail/?ui=2&ik=00ae10ecec&attid=0.0.1&th=179712138884c6a7&view=fimg&rm=179712138884c6a7&sz=w1600-h1000&attbid=ANGjdJ_88bAMPTPZpac7EaKGmc6QLJVNEnfuoF61EHBMN0QWQS9NarD1nVRxEFofEwzYH7Qm_q1l_u2hrvUnMQgaythSoHbJzMr5qUVUp8GiQj0zDjnHXysrE_o-lCI&disp=emb&realattid=ii_koq1hcxa1&zw" alt="image.png" style="width: 844px; max-width: 100%;" class=""><br class=""></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Thank you. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Best regards,</div><div dir="auto" class="">Zichen “Cardiff” Jiang</div></div></div>
</div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br class="">Zichen “Cardiff” Jiang</div>
<img class="" apple-inline="no" id="D301B78F-8CB6-4C1A-A253-142D06B9ED80" src="cid:ii_koq1hcxa1"><img class="" apple-inline="yes" id="F8B357B8-81C8-4C57-BEE2-BC9076A506EA" src="cid:f_koq1c6so0">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></body></html>