R/ReadSifFileToTable.r

Defines functions ReadSifFileToTable

Documented in ReadSifFileToTable

#' @title read .sif to Table
#' @description
#' Reads a .sif file into a table in R
#' @param sifFile the sifFile to be read in 
#' @return a R table containing the data from the .sif file

ReadSifFileToTable <- function(sifFile) {
    
    table <- utils::read.table(sifFile, colClasses = "character")
    
    ValidateFormatOfTable(table)
    
    return(table)
} 

Try the CausalR package in your browser

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

CausalR documentation built on Nov. 8, 2020, 5:25 p.m.