meanExpr | R Documentation |
Function averages the normalized gene expression values for different concentrations, treatment times and replicates of compounds and cell types. For more context on this step, please consult the corresponding section in the vignette of this package.
meanExpr(expr_df, cmap_inst)
expr_df |
|
cmap_inst |
|
data.frame
with mean expression values of replicates
path <- system.file("extdata", "cmap_instances_02.txt", package="signatureSearchData")
cmap_inst <- read.delim(path, check.names=FALSE)
expr_df <- as.data.frame(matrix(runif(30), ncol=5))
colnames(expr_df) <- paste0(cmap_inst$perturbation_scan_id[seq_len(5)],".CEL")
mexpr <- meanExpr(expr_df, cmap_inst[seq_len(5),])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.