Description Usage Arguments Details Value Author(s) Examples
Creat list of vetors with high/low versus the threshold, suitable for
analysis with [metafor]{rma}
1 | MultiHighLow(var_of_interest, dataset, threshold)
|
var_of_interest |
vector, the vector of interesting variables. |
dataset |
dataframe, the dataframe contained the interesting variables. |
threshold |
vector, the threshold values vector. |
TODO
list of vector with high/low versus the threshold.
Shuangbin Xu
1 2 3 4 5 6 7 8 9 10 11 12 | library("MetaMicrobiome")
testfile <- system.file("data", package="MetaMicrobiome", "Baxter_16_alpha_data.csv.gz")
data <- read.csv(testfile, header=TRUE, check.names=FALSE)
thresVetor <- getthresholds(dataset=data,
c("Shannon", "Observe", "J"),
type="median")
multiVariableHL <- MultiHighLow(var_of_interest=c("Shannon",
"Observe",
"J"),
dataset=data,
threshold=thresVetor)
head(multiVariableHL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.