Description Usage Arguments Value See Also Examples
View source: R/analysis_on_quantification.R
Perform a PCA with the function of the ropls
package on a
SummarizedExperiment
object obtained from the
formatForAnalysis
function
1 2 3 4 5 6 |
analysis_data |
A |
scale.unit |
Logical. If |
type.data |
Type of data used for the analysis (e.g.,
|
condition |
The name of the design variable (two level factor) specifying the groups, if one is available. Default to NULL, no group provided. |
A S4 object of class AnalysisResults containing PCA results.
AnalysisResults
1 2 3 4 5 6 7 8 9 10 11 | # Import quantification results
if (require("ASICSdata", quietly = TRUE)) {
quantif_path <- system.file("extdata", "results_ASICS.txt",
package = "ASICSdata")
quantification <- read.table(quantif_path, header = TRUE, row.names = 1)
# Create object for analysis and remove features with more than 25% of
# zeros
analysis_obj <- formatForAnalysis(quantification, zero.threshold = 25)
res_pca <- pca(analysis_obj)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.