Description Usage Arguments Value Examples
.inptPreparer is an internal function used by .inptChecker and spaceMaker to set up row and column names of 'InputData', and convert it to a matrix, if necessary.
1 | .inptPreparer(InputData)
|
InputData |
A matrix, SummarizedExperiment object or a list, based on the gene expression data (or any other type of high dimensional data, e.g. protein abundance, SNP, Methylation, etc.), to be analysed. InputData has to have a specific format to be properly analysed, these requirements are thoroughly explained in the 'Details' section of calculatePhysioMap() function. |
.inptPreparer returns InputData as a matrix with proper row and column names.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
SimulatedGeneExpressionData <- matrix(
rnorm(n = 100000, mean = 0,
sd = 100),
ncol = 10,
dimnames = list(1:10000, 1:10)
)
SimulatedGeneExpressionData_checked <-
PhysioSpaceMethods:::.inptPreparer(SimulatedGeneExpressionData)
library(SummarizedExperiment)
SimulatedGeneExpressionData_SE <- SummarizedExperiment(
assays = list(GEX = SimulatedGeneExpressionData),
rowData = data.frame("EntrezID" =
rownames(SimulatedGeneExpressionData)),
colData = data.frame("SampleName" =
colnames(SimulatedGeneExpressionData))
)
SimulatedGeneExpressionData_SE_checked <-
PhysioSpaceMethods:::.inptPreparer(SimulatedGeneExpressionData_SE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.