ParameterToBits: ParameterToBits

View source: R/firevat_optimization.R

ParameterToBitsR Documentation

ParameterToBits

Description

Calculate the number of bits needed to conduct FIREVAT GA binary optimization.

Usage

ParameterToBits(vcf.obj, config.obj, vcf.filter, multiplier = 100)

Arguments

vcf.obj

A list from ReadVCF

config.obj

A list from ParseConfigFile

vcf.filter

A list from MakeMuTect2Filter

multiplier

A multiplier for convert fraction to integer (default = 100)

Details

vcf.obj$data: if max(vcf.obj$data[[param]]) < 1, then multiply multiplier to the vector

Value

A list with the elements

  • params.bit.lenA numeric vector. Each element is the bit length of each parameter value

  • vcf.objA vcf.obj (ReadVCF) with updated data


cgab-ncc/FIREVAT documentation built on Nov. 19, 2022, 5:55 p.m.