findTrios: findTrios searches valid three-KO reactions resticting by the...

Description Usage Arguments Details Value

View source: R/trioAnalysis.R

Description

findTrios uses K-means clustering to identify reaction groups/clusters and the GAP statistic by Ryan Tibshirani to identity the best k implemented in the library cluster Clustering algorithm uses the input matrix cmoposed of the the KS statistics of the KOs flanking the KO of interest.

Usage

1
findTrios(KOI, ks, toPrint = TRUE, outputFile, plotDir)

Arguments

KOI

KOs-of-interest ie KOs above a selected amount of expression ie. highly expressed KOs and with D-statistics above that of the desired threshold

ks

Precalculated data.frame output from ksCal fxn containing all KO's gene distribution KS statistic when compared with whole sample's empirical gene distribution

toPrint

conditional to print the results of the classification plots

outputFile

the txt file to write the results of findTrios to

plotDir

the location to save the diagnostics plots to

Details

The KS statistics is calculated based on the comparison of each KO's gene/contig expression distribution against the 'null' ie. empirical distribution against all genes in all contigs

In addition it also identifies reactions where flanking KOs have high gene diversity, given by low KS (<= 0.5)

Value

data.frame of all reactions, corresponding clusters and the KS statistics for each KO and the selected Cluster


MetamapsDB documentation built on May 1, 2019, 9:23 p.m.