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

Difference between revisions of "Get.group"

From mothur
Jump to: navigation, search
Line 2: Line 2:
  
  
To execute the get.label() command you first need to have either run the read.otu(shared=...) or read.otu(list=..., group=...) commands.  Enter the following commands to get going:
+
==Default Options==
 +
The shared parameter is required.
  
  mothur > read.otu(list=98_lt_phylip_amazon.fn.list, group=amazon.groups)
+
  mothur > get.group(shared=amazon.an.shared)
 
+
Next, enter the command at the mothur prompt
+
 
+
mothur > get.group()
+
 
  rainforest
 
  rainforest
 
  pasture
 
  pasture
  
 
This tells you that you have two groups: one for the rainforest sequences and another for the pasture sequences.
 
This tells you that you have two groups: one for the rainforest sequences and another for the pasture sequences.
 +
 +
==Revisions==
  
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 13:01, 3 November 2015

The get.group command allows you to get a listing of the different groups available for the multi-sample OTU data that are currently stored in memory. This feature should help in using the group option for other commands. For this tutorial you should download and decompress AmazonData.zip.


Default Options

The shared parameter is required.

mothur > get.group(shared=amazon.an.shared)
rainforest
pasture

This tells you that you have two groups: one for the rainforest sequences and another for the pasture sequences.

Revisions