C# Class PerseusPluginLib.Utils.PerseusPluginUtils

Mostrar archivo Open project: JurgenCox/perseus-plugins Class Usage Examples

Public Methods

Method Description
CalcBenjaminiHochbergFdr ( double pvals, double threshold, int n, double &fdrs ) : string[][]
CalcPvalueSignificance ( double pvals, double threshold ) : string[][]
CollapseCatCol ( string catCol, int collapse ) : string[][]
CollapseNumCol ( double numCol, int collapse ) : double[]
CollapseNumCol ( float numCol, int collapse ) : float[]
FilterColumns ( IMatrixData mdata, BasicLib.Param.Parameters parameters, int cols ) : void
FilterRows ( IMatrixData mdata, BasicLib.Param.Parameters parameters, int rows ) : void
GetCategoryColumns ( IMatrixData mdata ) : List
GetCategoryColumns ( IMatrixData mdata, IList inds ) : List
GetCategoryRows ( IMatrixData mdata ) : List
GetCategoryRows ( IMatrixData mdata, IList inds ) : List
GetFilterModeParam ( bool column ) : BasicLib.Param.SingleChoiceParam
GetImage ( string file ) : Bitmap2
GetIndexOf ( IMatrixData data, string categoryName ) : int
GetIndexOfCol ( IMatrixData data, string categoryName ) : int
GetIndicesOf ( IMatrixData data, string categoryName, HashSet values ) : int[]
GetIndicesOf ( IMatrixData data, string categoryName, string value ) : int[]
GetIndicesOfCol ( IMatrixData data, string categoryName, HashSet values ) : int[]
GetIndicesOfCol ( IMatrixData data, string categoryName, string value ) : int[]
GetMainColIndices ( IList groupCol, string groupNames ) : int[][]
GetMinValids ( BasicLib.Param.Parameters param, bool &percentage ) : int
GetMinValuesParam ( bool rows ) : BasicLib.Param.Parameter
GetMinValuesParamOld ( bool rows ) : BasicLib.Param.Parameter
GetValuesShouldBeParam ( ) : SingleChoiceWithSubParams

Private Methods

Method Description
CollapseCatCol ( IList catCol, IEnumerable collapse ) : string[]
CollapseNumCol ( IList numCol, IEnumerable collapse ) : double
CollapseNumCol ( IList numCol, IEnumerable collapse ) : float
GetFilterModeParamNew ( ) : SingleChoiceWithSubParams
GetMainColIndices ( IList groupCol, string groupName ) : int[]
GetModeParam1 ( ) : BasicLib.Param.SingleChoiceParam
GetModeParam2 ( ) : BasicLib.Param.SingleChoiceParam
GetReduceMatrix ( BasicLib.Param.Parameters parameters ) : bool
IsValid ( double data, double threshold, double threshold2, FilteringMode filterMode ) : bool
NonzeroFilter1 ( bool rows, int minValids, bool percentage, IMatrixData mdata, BasicLib.Param.Parameters param, double threshold, double threshold2, FilteringMode filterMode ) : void
ReadValuesShouldBeParams ( BasicLib.Param.Parameters param, FilteringMode &filterMode, double &threshold, double &threshold2 ) : void
Valid ( int count, int minValids, bool percentage, int total ) : bool

Method Details

CalcBenjaminiHochbergFdr() public static method

public static CalcBenjaminiHochbergFdr ( double pvals, double threshold, int n, double &fdrs ) : string[][]
pvals double
threshold double
n int
fdrs double
return string[][]

CalcPvalueSignificance() public static method

public static CalcPvalueSignificance ( double pvals, double threshold ) : string[][]
pvals double
threshold double
return string[][]

CollapseCatCol() public static method

public static CollapseCatCol ( string catCol, int collapse ) : string[][]
catCol string
collapse int
return string[][]

CollapseNumCol() public static method

public static CollapseNumCol ( double numCol, int collapse ) : double[]
numCol double
collapse int
return double[]

CollapseNumCol() public static method

public static CollapseNumCol ( float numCol, int collapse ) : float[]
numCol float
collapse int
return float[]

FilterColumns() public static method

public static FilterColumns ( IMatrixData mdata, BasicLib.Param.Parameters parameters, int cols ) : void
mdata IMatrixData
parameters BasicLib.Param.Parameters
cols int
return void

FilterRows() public static method

public static FilterRows ( IMatrixData mdata, BasicLib.Param.Parameters parameters, int rows ) : void
mdata IMatrixData
parameters BasicLib.Param.Parameters
rows int
return void

GetCategoryColumns() public static method

public static GetCategoryColumns ( IMatrixData mdata ) : List
mdata IMatrixData
return List

GetCategoryColumns() public static method

public static GetCategoryColumns ( IMatrixData mdata, IList inds ) : List
mdata IMatrixData
inds IList
return List

GetCategoryRows() public static method

public static GetCategoryRows ( IMatrixData mdata ) : List
mdata IMatrixData
return List

GetCategoryRows() public static method

public static GetCategoryRows ( IMatrixData mdata, IList inds ) : List
mdata IMatrixData
inds IList
return List

GetFilterModeParam() public static method

public static GetFilterModeParam ( bool column ) : BasicLib.Param.SingleChoiceParam
column bool
return BasicLib.Param.SingleChoiceParam

GetImage() public static method

public static GetImage ( string file ) : Bitmap2
file string
return Bitmap2

GetIndexOf() public static method

public static GetIndexOf ( IMatrixData data, string categoryName ) : int
data IMatrixData
categoryName string
return int

GetIndexOfCol() public static method

public static GetIndexOfCol ( IMatrixData data, string categoryName ) : int
data IMatrixData
categoryName string
return int

GetIndicesOf() public static method

public static GetIndicesOf ( IMatrixData data, string categoryName, HashSet values ) : int[]
data IMatrixData
categoryName string
values HashSet
return int[]

GetIndicesOf() public static method

public static GetIndicesOf ( IMatrixData data, string categoryName, string value ) : int[]
data IMatrixData
categoryName string
value string
return int[]

GetIndicesOfCol() public static method

public static GetIndicesOfCol ( IMatrixData data, string categoryName, HashSet values ) : int[]
data IMatrixData
categoryName string
values HashSet
return int[]

GetIndicesOfCol() public static method

public static GetIndicesOfCol ( IMatrixData data, string categoryName, string value ) : int[]
data IMatrixData
categoryName string
value string
return int[]

GetMainColIndices() public static method

public static GetMainColIndices ( IList groupCol, string groupNames ) : int[][]
groupCol IList
groupNames string
return int[][]

GetMinValids() public static method

public static GetMinValids ( BasicLib.Param.Parameters param, bool &percentage ) : int
param BasicLib.Param.Parameters
percentage bool
return int

GetMinValuesParam() public static method

public static GetMinValuesParam ( bool rows ) : BasicLib.Param.Parameter
rows bool
return BasicLib.Param.Parameter

GetMinValuesParamOld() public static method

public static GetMinValuesParamOld ( bool rows ) : BasicLib.Param.Parameter
rows bool
return BasicLib.Param.Parameter

GetValuesShouldBeParam() public static method

public static GetValuesShouldBeParam ( ) : SingleChoiceWithSubParams
return SingleChoiceWithSubParams