_p_VinskaTrta/_I_EnViRoS/_S_01_Integ/_A_01_Desc-R/
% -*- TeX:Rnw:UTF-8 -*-
% ----------------------------------------------------------------
% .R knitr file ************************************************
% ----------------------------------------------------------------
%%
<<echo=FALSE>>=
###############################################
## ##
## (c) Andrej Blejec (andrej.blejec@nib.si) ##
## ##
###############################################
@
<<echo=FALSE,results='hide'>>=
options(width=70)
@
\clearpage
\subsubsubsection{\Sexpr{mtb}}
<<>>=
filter <- edges$Metabolite == mtb
w <- abs(edges[filter,"weight"])
n <- length(w)
cat("\n--- ",mtb,"\nn = ",n,"\n")
ps <- c(0.8,0.9,0.95,1)
print(cbind(cutoff=round(quantile(w,ps),2), n_larger=round(n*(1-ps))))
par(mfrow=c(2,2))
hist(w, main=mtb, xlim=c(0.6,0.9))
boxplot(w, horizontal=TRUE, ylim=c(0.5,0.9))
plot(w,rank(w), xlim=c(0.6,0.9))
q <- quantile(w,c(0.90))
title(paste("n =",length(w)))
abline(v=q, col=2)
@
Creators and SubmitterCreator
Submitter
Activity
Views: 881 Downloads: 36
Created: 7th Nov 2021 at 15:25
Last updated: 7th Nov 2021 at 15:26
AttributionsNone
Version History
Version 1 (earliest) Created 7th Nov 2021 at 15:25 by Andrej Blejec
No revision comments
Download
View content
https://orcid.org/0000-0001-7484-6031