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

Difference between revisions of "Get.rabund"

From mothur
Jump to: navigation, search
(list & label options)
Line 12: Line 12:
  
 
==Options==
 
==Options==
===list & label options===
+
===label options===
If the list file contains multiple lines and you are only interested in a subset of those line you can use the line or label option:
+
If the list file contains multiple lines and you are only interested in a subset of those lines you can use the label option:
  
 
  mothur > get.rabund(label=unique-0.03-0.10-0.20)
 
  mothur > get.rabund(label=unique-0.03-0.10-0.20)
 
or
 
 
mothur > get.rabund(lines=1-5-10-20)
 
 
  
 
===sorted option===
 
===sorted option===

Revision as of 14:22, 17 November 2009

The get.rabund command will generate an rabund file based on the OTU data that you have read into mothur.


Default

If you read in a list file, get.rabund will generate the corresponding rabund file:

mothur > read.otu(list=amazon.fn.list)
mothur > get.rabund()

This series of commands will generate amazon.fn.rabund.


Options

label options

If the list file contains multiple lines and you are only interested in a subset of those lines you can use the label option:

mothur > get.rabund(label=unique-0.03-0.10-0.20)

sorted option

By default the data in the rabund file are not sorted. That is they are in the same order as the OTUs in your list file. If you would like these data to be sorted by their abundance you need to use the sorted option:

mothur > get.rabund(sorted=T)