We will be offering mothur and R workshops throughout 2019. Learn more.

Difference between revisions of "Get.label"

From mothur
Jump to: navigation, search
 
Line 1: Line 1:
The [[get.label]] command allows you to get a listing of the labels for each line of the OTU data that are currently stored in memory.  This feature should help in using the label option for other commands.  For this tutorial you should download and decompress [[Media:AmazonData.zip|AmazonData.zip]].  You might also want to check out the [[get.line]] command.
+
The [[get.label]] command allows you to get a listing of the labels for each line of the OTU data that are currently stored in memory.  This feature should help in using the label option for other commands.  For this tutorial you should download and decompress [[Media:AmazonData.zip|AmazonData.zip]].  
  
 +
The get.label command works with a list, rabund or sabund file.
  
To execute the get.label() command you first need to have either run the cluster() or read.otu() commandsEnter the following commands to get going:
+
mothur > get.label(list=98_lt_phylip_amazon.fn.list)
 +
unique
 +
0.05
 +
  0.13
 +
0.15
 +
0.16
 +
0.17
 +
0.20
 +
0.21
 +
0.22
 +
0.23
 +
0.24
 +
...
  
mothur > read.otu(list=98_lt_phylip_amazon.fn.list)
+
Or
  
Next, enter the command at the mothur prompt
+
  mothur > get.label(rabund=98_lt_phylip_amazon.fn.rabund)
 
+
  mothur > get.label()
+
 
  unique
 
  unique
 
  0.05
 
  0.05
Line 22: Line 33:
 
  ...
 
  ...
  
 +
mothur > get.label(sabund=98_lt_phylip_amazon.fn.sabund)
 +
unique
 +
0.05
 +
0.13
 +
0.15
 +
0.16
 +
0.17
 +
0.20
 +
0.21
 +
0.22
 +
0.23
 +
0.24
 +
...
  
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 19:03, 11 April 2011

The get.label command allows you to get a listing of the labels for each line of the OTU data that are currently stored in memory. This feature should help in using the label option for other commands. For this tutorial you should download and decompress AmazonData.zip.

The get.label command works with a list, rabund or sabund file.

mothur > get.label(list=98_lt_phylip_amazon.fn.list)
unique
0.05
0.13
0.15
0.16
0.17
0.20
0.21
0.22
0.23
0.24
...

Or

mothur > get.label(rabund=98_lt_phylip_amazon.fn.rabund)
unique
0.05
0.13
0.15
0.16
0.17
0.20
0.21
0.22
0.23
0.24
...
mothur > get.label(sabund=98_lt_phylip_amazon.fn.sabund)
unique
0.05
0.13
0.15
0.16
0.17
0.20
0.21
0.22
0.23
0.24
...