R/readZscore.R

Defines functions read.zscore

Documented in read.zscore

read.zscore <- function(input.file) {

    # test arguments
    test_character("input.file", input.file, NULL)
    # check extension 
    test_extension(input.file, "zscore")

    R = as.matrix(read.table(input.file));

    return(list(zscores=R[,1],mlog10pvalues=R[,2],pvalues=R[,3]))
}

Try the LEA package in your browser

Any scripts or data that you put into this service are public.

LEA documentation built on Nov. 8, 2020, 8:19 p.m.