counts
using 10 different estimation methods.
parMIEstimate(counts, method = c("ML", "MM", "Bayes", "CS", "Shrink", "KD", "KNN"), unit = c("bit", "ban", "nat"), nchips, priorHyperParam = c("Jeffreys", "BLUnif", "Perks", "MiniMax"), shrinkageTarget, k = 3, tfList = NULL, boot = F)
"ML"
(Maximum Likelihood Estimator, default), "MM"
(Miller-Madow
corrected Estimator), "Bayes"
(Bayesian Estimators), "CS"
(Chao-Shen Estimator), "Shrink"
(James-Stein shrinkage Estimator),
"KD"
(kernel Density Estimator), or "KNN"
(k-Nearest Neighbor
Estimator), can be abbreviated. For the "Bayes"
estimate it is needed
to specify also which priorHyperParam
is to be used; for "Shrink"
is optional to specify values for the shrinkageTarget
parameter; for
"KNN"
is needed to specify also the number of nearest neighbors k
.
"bit"
(log2, default), "ban"
(log10) or "nat"
(natural units).
"Jeffreys"
(default, Jeffreys Prior, Krichevsky and Trofimov Estimator), "BLUnif"
(Bayes-Laplace uniform Prior, Holste Estimator), "Perks"
(Perks Prior,
Schurmann and Grassberger Estimator), or "MiniMax"
(MiniMax Prior), can be
abbreviated.
counts
matrix is to be used as transcription factor for network reconstruction.
FALSE
as default). Used for calculating a null distribution
in order to evaluate if such a interaction is true or obtained by chance.
parMIEstimate
function returns a square matrix of dimension equal to
the number of rows (number of genes) of the counts
matrix, or a number
of rows equal to the length of tfList
.
parEntropyEstimate
simData <- simulatedData(p = 5, n = 10, mu = 100, sigma = 0.25,
ppower = 0.73, noise = FALSE)
counts <- simData$counts
adjMat <- simData$adjMat
miML <- parMIEstimate(counts, method = "ML", unit = "nat", nchips = 2)
miBJ <- parMIEstimate(counts, method = "Bayes", unit = "nat",
nchips = 2, priorHyperParam = "Jeffreys")
miSH <- parMIEstimate(counts, method = "Shrink", unit = "nat",
nchips = 2)
miKD <- parMIEstimate(counts, method = "KD", nchips = 2)
miKNN <- parMIEstimate(counts, method = "KNN", unit = "nat", k = 3,
nchips = 2)
Run the code above in your browser using DataLab