calculateBuscoCutoff: The function to calculate the cutoff value based on standard...

Description Usage Arguments Value Examples

View source: R/getResult.R

Description

The function to calculate the cutoff value based on standard deviation of the length for each core group. This function will be used in score mode "busco"

Usage

1
calculateBuscoCutoff(root, coreSet, coreGene)

Arguments

root

The path to the core directory, where the core set is stored within weight_dir, blast_dir, etc.

coreSet

The name of the interested core set. The core directory can contains more than one core set and the user must specify the interested core set. The core set will be stored in the folder core_orthologs in subfolder, specify them by the name of the subfolder

coreGene

the ID of the core gene

Value

a list that contains the mean length and the standard deviation of the length of the core gene

Examples

1
2
3
coreFolder <- system.file("extdata", "sample", package = "fCAT")
cutoff <- calculateBuscoCutoff(coreFolder, "test", "530670")
print(cutoff)

giangnguyen0709/fCAT documentation built on Feb. 10, 2021, 4:31 a.m.