select.2way {StabPerf} | R Documentation |
Selects gene indices, based on minimal p-value and maximum fold change.
Description
Selects gene indices, based on minimal p-value and maximum fold change.
Usage
select.2way(x, y, max.pv=0.01, min.fc=1.5, max.fc=-1.5, tresh=.6)
Arguments
x |
data.frame |
y |
class labels |
max.pv |
maximum permitted p-value between two groups |
min.fc |
minimimum permitted fold change between two groups |
max.fc |
maximimum permitted fold change between two groups |
thresh |
intolerance against genes that are selected in every pairwise |
Details
Selects gene indices, based on minimal p-value and maximum fold change between multiple groups of samples grouping of classes. E.g. if the gene in row 23 has a low enough p-value and a high enough fold change between sample groups 1 and 2 and the same sitution between groups 1 and 3, but does not meet the requirements between groups 2 and 3, then the index 23 for this gene will only be returned if thresh >= 2/3
Value
indices |
the rows of x, that meat the conditions. |
Examples
data <- loadData("data/dataset.RData")
# return the indices of spots, that have a |fold-change| > 1.5 and a p-Value < 0.01 for at least one class-combination (tresh=.0).
select.2way(data$x, data$y, max.pv=0.01, min.fc=1.5, max.fc=-1.5, tresh=.0)
[Package
StabPerf version 0.5
Index]