View source: R/Wilcoxon_Sign_Rank_Test.R
compare_two | R Documentation |
Tests for the difference between two related variables; takes into account the magnitude and direction of difference
wilcox_sign(physeq, sampleid, PID, GROUP, grp1, grp2)
physeq |
(Required). A |
PID |
id (Required) for paired test |
GROUP |
names (Required) of group information, only contain two levels if grp1 or grp2 haven't been provided |
grp1 |
one of groups to be converted into 0 (optional) |
grp2 |
one of groups to be converted into 1 (optional) |
sampleid |
(Required) A character of the sampleid to connect phenotype and profiles. |
01/10/2020 ShenZhen China
Returns a result of Wilcoxon Sign-Rank Test
type: kind of data
Block: group information
Num: number of group
P-value: P by Wilcoxon Sign-Rank Test
FDR: adjusted by BH
Enrichment: directory by median or directory by rank
Occurence: occurence of two groups
median: both or each group
rank: each group
FDR: adjusted P value by BH
Odds Ratio: 95
Hua Zou/ Huahui Ren
data(physeq_data)
sampleid <- "SampleID"
pid <- "ID"
group <- "Stage"
grp1 <- "Before"
grp2 <- "After"
result <- wilcox_sign(physeq_data, sampleid, pid, group, grp1, grp2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.