text: user208: There are 394 CD marker genes. Various resources (BD handbook, Abcam guide) contain information about which cell types express which CD markers. What is the best way to obtain or download this data so that it can be used with programs such as R?
  How can we download similar annotation data on expression for any gene or cell type?
  
  user150: I can offer this as a way to scrape the data from the Abcam resource:
  library(rvest)
  library(dplyr)
  
  antigens <- read_html("http://www.abcam.com/primary-antibodies/human-cd-antigen-guide") %>% 
    html_node("table") %>% 
    html_table(header = TRUE)
  
  # what targets expressed in "Langerhans" ?
  antigens %>% 
    filter(grepl("Langerhans", `Cellular Expression`)) %>% 
    select(`Target Name`)
  
     Target Name
  1         CD1a
  2         CD1b
  3         CD1c
  4         CD1e
  5         CD14
  6         CD39
  7         CD50
  8         CD69
  9         CD74
  10        CD83
  11       CD101
  12       CD206
  13       CD207
  
  The data could be further processed by, for example, splitting the Cellular Expression column on either and or , (comma) to try and make one row per cell type.
  
original_text: 208: <p>There are 394 <a href="https://www.genenames.org/cgi-bin/genefamilies/set/471" rel="nofollow noreferrer">CD marker genes</a>. Various resources (<a href="https://www.bdbiosciences.com/documents/cd_marker_handbook.pdf" rel="nofollow noreferrer">BD handbook</a>, <a href="http://www.abcam.com/primary-antibodies/human-cd-antigen-guide" rel="nofollow noreferrer">Abcam guide</a>) contain information about which cell types express which CD markers. What is the best way to obtain or download this data so that it can be used with programs such as <code>R</code>?</p>
  
  <p>How can we download similar annotation data on expression for any gene or cell type?</p>
   150: <p>I can offer this as a way to scrape the data from the Abcam resource:</p>
  
  <pre><code>library(rvest)
  library(dplyr)
  
  antigens &lt;- read_html("http://www.abcam.com/primary-antibodies/human-cd-antigen-guide") %&gt;% 
    html_node("table") %&gt;% 
    html_table(header = TRUE)
  
  # what targets expressed in "Langerhans" ?
  antigens %&gt;% 
    filter(grepl("Langerhans", `Cellular Expression`)) %&gt;% 
    select(`Target Name`)
  
     Target Name
  1         CD1a
  2         CD1b
  3         CD1c
  4         CD1e
  5         CD14
  6         CD39
  7         CD50
  8         CD69
  9         CD74
  10        CD83
  11       CD101
  12       CD206
  13       CD207
  </code></pre>
  
  <p>The data could be further processed by, for example, splitting the <code>Cellular Expression</code> column on either <code>and</code> or <code>,</code> (comma) to try and make one row per cell type.</p>
  