dot-progressBar: Generate a progress bar scaled by width

Description Usage Arguments Value Examples

Description

Generate a progress bar scaled by width

Usage

1
.progressBar(i, n, width = 78)

Arguments

i

Current stage

n

Total number of stages

width

Number of characters for progress display (the whole bar will have 2 extra ones used for marking both ends)

Value

Nothing. Output progress to console

Examples

1
2
3
4
#for (i in 1:10){
#    .progressBar(i, 10, 100)
#    Sys.sleep(1)
#}

ss-lab-cancerunit/SpiderSeqR documentation built on Nov. 2, 2020, 12:18 a.m.