R/GetInteractionInformation.r

Defines functions GetInteractionInformation

Documented in GetInteractionInformation

#' @title returns interaction information from input data
#' @description
#' Gets the interaction information from the input data
#' @param dataTable a data table containing the information read in from the .sif file representing the network.
#' @return a vector of interaction information

GetInteractionInformation <- function(dataTable) {
    
    informationMatrix <- as.matrix(dataTable)
    interactionInfo <- informationMatrix[, 2]
    return(interactionInfo)
} 

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.