1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/decoupleR-pre.R
\name{check_corr}
\alias{check_corr}
\title{Check correlation (colinearity)}
\usage{
check_corr(
network,
.source = "source",
.target = "target",
.mor = "mor",
.likelihood = NULL
)
}
\arguments{
\item{network}{Tibble or dataframe with edges and it's associated metadata.}
\item{.source}{Column with source nodes.}
\item{.target}{Column with target nodes.}
\item{.mor}{Column with edge mode of regulation (i.e. mor).}
\item{.likelihood}{Deprecated argument. Now it will always be set to 1.}
}
\value{
Correlation pairs tibble.
}
\description{
Checks the correlation across the regulators in a network.
}
\examples{
inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
net <- readRDS(file.path(inputs_dir, "net.rds"))
check_corr(net, .source='source')
}
|