taiModified | R Documentation |

Modified Total Aberration Index calculation takes the sum of lengths of each segment times its segmentation mean for each sample and divides it by the sum of the lengths of each sample.

```
taiModified(cnvData, sample_column = 1, segmentMean = 0, numProbes = NA)
```

`cnvData` |
dataframe containing following columns: Sample, Start, End, Num_Probes, Segment_Mean |

`sample_column` |
numerical value for the sample column number, default is 1 |

`segmentMean` |
numerical value for the minimum segment_mean cutoff/ threshold. Default is 0.2 |

`numProbes` |
Number of Probes |

Modified Total Aberration Index uses all sample values instead of those in aberrant copy number state, thus does not remove the directionality from the score.

```
Modified\ Total\ Aberration\ Index =
\frac
{\sum^{R}_{i = 1} {d_i} \cdot {\bar{y}_{S_i}}}
{\sum^{R}_{i = 1} {d_i}}
```

Average of lengths weighted by segmentation mean for each unique sample

`tai`

```
taiModified(cnvData = maskCNV_BRCA)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.