Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color argument in m_style_stick() without effect #57

Open
mf-rug opened this issue Feb 7, 2025 · 0 comments
Open

Color argument in m_style_stick() without effect #57

mf-rug opened this issue Feb 7, 2025 · 0 comments

Comments

@mf-rug
Copy link

mf-rug commented Feb 7, 2025

The color argument works fine in m_style_cartoon and others:

r3dmol() %>%
  m_add_model(                
    data = pdb_6zsl,
    format = "pdb"
  ) %>%
  m_set_style(                  
    style = m_style_cartoon(
      color = "white"
    )
  ) %>%
  m_set_style(                  
    sel = m_sel(resi = 10:30),     
    style = m_style_cartoon(
      color = "hotpink"))

Image

But there is no effect in m_style_stick:

r3dmol() %>%
  m_add_model(                
    data = pdb_6zsl,
    format = "pdb"
  ) %>%
  m_set_style(                  
    style = m_style_cartoon(
      color = "white"
    )
  ) %>%
  m_set_style(                  
    sel = m_sel(resi = 10:30),     
    style = m_style_stick(
      color = "hotpink"))

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant