cellrPLR_biom | R Documentation |
Algorithm for cellwise outlier diagnostics using robust pairwise log-ratios - biomarker identification.
cellrPLR_biom(data, type = "biweight", g1, g2, mainGroup = "max",
biomarker, permutation = FALSE, B = 1000, p.alpha = 0.95)
## S3 method for class 'biomarker'
print(x, ...)
data |
dataset, either 'matrix' or 'data.frame' |
type |
type of weighting function, possible values are |
g1 |
vector with positions of samples from group 1 |
g2 |
vector with positions of samples from group 2 |
mainGroup |
integer or character: group which is chosen as based. Possible values are: |
biomarker |
variable names of known biomarkers (not necessary) |
permutation |
logical value if permutation tests should be performed |
B |
number of permutation iterations, not used if |
p.alpha |
cut-off p-value for permutation tests, not used if |
List of Difference
, Biomarker_results
and Permutation_tests
.
Difference |
Difference value is returned. The bigger the value, more important variable is for discrimination. In range <0;2>. |
Biomarker_results |
Data frame with: |
Ordered_position |
Variable importance ordered position. |
Biomarker_names |
If 'true' biomarkers were given as agrument |
Variable_position |
If 'true' biomarkers were given as agrument |
Permutation_tests |
Data frame with: |
p_value |
If |
TRUE_FALSE |
If |
biomarkers_names |
If |
statistics |
If |
Jan Walach <walach.jan@gmail.com>
'Cellwise outlier detection and biomarker identification in metabolomics based on pairwise log-ratios', Walach J., Filzmoser P., Kouril S., submitted
set.seed(452)
data <- gendata1_c()$X
colnames(data) <- LETTERS[1:9]
cellrPLR_biom(data, type = "biweight", g1 = 1:20 , g2 = 21:40, mainGroup = "all", biomarker=c('B','C'), permutation = TRUE, B = 100, p.alpha = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.