title: R select names from a list using logical vector
body: <p>Suppose I have my <code>list</code> with names and its component and I want to get those names which have its components in other vector:</p>
  
  <p>that is my list <strong>neighbors</strong></p>
  
  <pre><code>neighbors[[1]]
   [1] "CNBP"                  "IGF2BP1"               "RPL3|OK/SW-cl.32"     
   [4] "HNRNPC"                "PURA|hCG_45299"        "RPS3A"                
           "Cnbp"                  "Mis12|DN-393H17.5"    
  neighbors[[2]]
  [1] "NIN"                "PRKACA"             "AURKA|RP5-1167H4.6"
  [4] "GSK3B"              "AMOT"               "UBC"
  </code></pre>
  
  <p>and my vector of interest
      <strong>mtop</strong>   </p>
  
  <pre><code>[1] "TUBA1A"                "DNAJB1"                "MME"                  
  [4] "PRKCB"                 "PARK2|KB-152G3.1"      "UBC" 
  </code></pre>
  
  <p>My idea for example is return the name of <code>neighbors[2]</code>, which have in common UBC</p>
  
  <p>Any ideas??</p>