text: user4967: I have a list of proteins with their gene names/symbols. I would like to identify which of them are extracellular proteins or plasma membrane proteins. 
  I can get this information in UniprotKB by searching the proteins one by one. Because I have hundreds of proteins, I wonder whether I can do a systematic search of the UniprotKB in RStudio. I tried the UniProt.ws select method. But I couldn't even get the example code in the package work. I downloaded the uniprot_sprot.dat file. But I don't know how to read this file correctly in RStudio. I used tab-delimited format. It turned out there is only one variable in the file. 
  Can anybody tell me what I should do to solve the problem? I am pretty new to any computer languages. 
  
  user4885: Since you are already on UniProtKB, the simplest way will be if you add this information to the output table and download it as a that you can import and filter in R.
  To get additional annotations, click the button labelled "Columns" on top of the UniPortKB website. 
  
  This allows you to add a wide variety of annotations such as subcellular location to the output. Tick the checkmark for subcellular location and save on the top right.
  
  Then you can download the proteome-wide annotation for example as a tab-separated list using the "Download" dialog next to the "Columns" selection. This list can be imported into R.
  
original_text: 4967: <p>I have a list of proteins with their gene names/symbols. I would like to identify which of them are extracellular proteins or plasma membrane proteins. </p>
  
  <p>I can get this information in UniprotKB by searching the proteins one by one. Because I have hundreds of proteins, I wonder whether I can do a systematic search of the UniprotKB in RStudio. I tried the UniProt.ws select method. But I couldn't even get the example code in the package work. I downloaded the uniprot_sprot.dat file. But I don't know how to read this file correctly in RStudio. I used tab-delimited format. It turned out there is only one variable in the file. </p>
  
  <p>Can anybody tell me what I should do to solve the problem? I am pretty new to any computer languages. </p>
   4885: <p>Since you are already on UniProtKB, the simplest way will be if you add this information to the output table and download it as a that you can import and filter in R.</p>
  
  <p>To get additional annotations, click the button labelled "Columns" on top of the UniPortKB website. 
  <a href="https://i.stack.imgur.com/gQdsF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gQdsF.jpg" alt="UniProt button row"></a><br>
  This allows you to add a wide variety of annotations such as subcellular location to the output. Tick the checkmark for subcellular location and save on the top right.<br>
  <a href="https://i.stack.imgur.com/HDAP1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HDAP1.jpg" alt="UniProtKB column selection"></a><br>
  Then you can download the proteome-wide annotation for example as a tab-separated list using the "Download" dialog next to the "Columns" selection. This list can be imported into R.</p>
  