Description Usage Arguments Value Examples
Calling Make.adjacencyPVal() with all the implemented methods.
1 | Make.full.adjacency(data, PValue = T)
|
data |
Dataset of gene expression levels with genes in row and samples in columns |
PValue |
Logical value. if PValue = TRUE, all the pvalues associated with the corresponding coeffients of correlation will be computed. Could be very long on large dataframe if PValue = FALSE, only the coefficient of correlation, and TOM similarity will be computed. |
Dataframe with several columns. The two firsts are the pair of genes, the others are the coefficient of correlation depending on the used method, and maybe the PValues depending on the argument.
1 2 3 4 5 6 7 8 9 | # Creating a dataset
df = matrix(runif(500, 10, 100), ncol=20)
group = paste0(rep(c("control", "case"), each = 10),rep(c(1:10),each = 1))
genes <- paste0(rep(LETTERS[1:25], each=1))
colnames(df) = group
row.names(df) = genes
# computing fast correlation and pvalues
Adj = Make.full.adjacency(df,PValue = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.