decomposeStatus2Bit: decompose sums of powers of two to a list of the summed...

View source: R/ProcessingPipelineFunctions.R

decomposeStatus2BitR Documentation

decompose sums of powers of two to a list of the summed powers

Description

eg 18 = 2 + 16 decomposes to 1, 4

Usage

decomposeStatus2Bit(status)

Arguments

status

an integer that represents the sum of powers of 2

Value

a string of powers of 2 representing the bit, eg 1,4

References

yiming kang https://github.com/yiming-kang/rnaseq_pipe/blob/master/tools/utils.py


BrentLab/brentlabRnaSeqTools documentation built on Aug. 20, 2023, 9:22 a.m.