Description Usage Arguments Value Author(s) References See Also Examples
View source: R/check.SamSPECTRAL.input.R
The input to SamSPECTRAL should be a numeric matrix WITHOUT any NA, NaN, and +/- Inf. This function checks the input matrix and prodeuces an error for an inappropriate input.
1 | check.SamSPECTRAL.input(data.points,dimensions=1:ncol(data.points),replace.inf.with.extremum=FALSE)
|
data.points |
A matrix that contains coordinates of the data points. |
dimensions |
A vector that determines which dimension of the data point matrix are chosen for investigation. |
replace.inf.with.extremum |
If TRUE, the Inf and -Inf values will be replaced by maximum and minimum of data in each direction. |
Returns a list with the following entries:
data.matrix |
The data with infinite elements fixed if |
dimensions |
All the checked dimensions. |
infinite |
Will be TRUE if data contained infinite entries. |
Habil Zare
Zare, H. and Shooshtari, P. and Gupta, A. and Brinkman R.B: Data Reduction for Spectral Clustering to Analyse High Throughput Flow Cytometry Data. BMC Bioinformatics, 2010, 11:403.
SamSPECTRAL
, Building_Communities
, Conductance_Calculation
,
Connecting
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(SamSPECTRAL)
# Reading data file which has been transformed using log transform
data(small_data)
full <- small
checked <- check.SamSPECTRAL.input(data.points=full,dimensions=c(1,2,3),replace.inf.with.extremum=TRUE)
plot(checked$data.matrix, pch='.')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.