Learn R Programming

MetamapsDB (version 0.0.2)

ksCal: ksCal generates KS statistics for aKO given the base distribution

Description

runs a "two.sided" KS test and reports the KS and p value

Usage

ksCal(contigDF, baseDistribution, cores)

Arguments

contigDF

data.frame with count frequency and rpkm of ALL KOs' contigs for both gDNA and cDNA obtained from query

baseDistribution

the

cores

number of cores to use

Value

data.frame with columns: ko, p.value and KS statistic (D)