# Sorclass

Example Calculations

*.sharedSorClass

Estimating the fraction of shared OTUs between two communities. Incidence-based measures of community similarity such as the classic Jaccard (Jclas) similarity indices calculate the ratio of shared OTUs to the total number of OTUs in individual communities:

$S_{class} = \frac{2S_{12}}{S_1 + S_2}$,

where,

$S_1, S_2$ = number of OTUs observed or estimated in A and B.

$S_{12}$ = number of OTUs shared between A and B.

The observed number of OTUs in A and B was 89 and 81, respectively. Shared between the two libraries were 60 OTUs. Therefore the value of the equations for $J_{class}$ was 0.545455 as seen below.

File Samples on the Eckburg 70.stool_compare Dataset

• .shared

This file contains the frequency of sequences from each group found in each OTU. Each row consists of the distance being considered, group name, number of OTUS, and the abundance information separated by tabs. The abundance information is as follows. Each subsequent number represents a different OTU so that the number indicates the number of sequences in that group that clustered within that OTU. Note that OTU frequencies can only be compared within a distance definition. Below is a link to the file used in the calculations.

• .sharedJclass

The first line contains the labels of all the columns. First sampled which shows the frequency of the $J_{class}$ calculations. The frequency was set to 500, so after each 500 selected the $J_{class}$ is calculated at each of the distances, with a calculation done after all are sampled. The following labels in the first line are the distances at which the calculations were made and the names of the groups compared. Each additional line starts with the number of sequences sampled followed by the $J_{class}$ calculation at the column's distance. For instance, at distance 0.01, after 4392 samples $J_{class}$ was 0.371094.