Description Usage Arguments Value Note Author(s) Examples
Takes in a functional Module from scPPIN, a network dataframe, gene pvalues for expression, and the cluster number, and writes two csvs that can be used by Cytoscape for visualization of the network.
1 |
functionalModule |
A object containing the solution to the cluster network computed by scPPIN |
network |
A dataframe containing the network and edge weights for the cluster |
Ps |
A dataframe containg the PValues for each genes expression |
C |
The cluster number |
Does not return any varibale, but instead creates two csv files in the current working directory
called by getDataFiles
Matt Heffernan, University of Illinois at Chicago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
SendToCSV(FM, network, Ps, 0)
## The function is currently defined as
function (functionalModule, network, Ps, C)
{
filename = paste("UterusNetwork", C, ".csv", sep = "")
writeCSV(network, filename, row.names = FALSE)
filename = paste("UterusTableNS", C, ".csv", sep = "")
table2 <- as_data_frame(functionalModule, what = c("vertices"))
writeCSV(table2, filename, row.names = FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.