Description Usage Arguments Value Examples
Find gene networks around gene of interest, one for WT and one for mutated.
1 2 3 4 5 6 7 | cgNetwork(
countdata,
mut_df,
common_neighbor,
cor_method = "spearman",
weight.cut.off = 0.5
)
|
countdata, |
output of the cgData or TCGA_RNAseq_RSEM function. |
mut_df |
data.frame, output of the cgMutation or mutation_info function. |
common_neighbor |
character vector, names of genes considered neighbors of the gene of interest. Output of the neighbor_finder function. |
cor_method |
string, correlation coeffiecint method "spearman" or "pearson". Defaults to "spearman". |
weight.cut.off |
numeric, cut off value of network weight to reduce edges. Defaults to 0.5. |
list of two igraph objects
1 2 3 | example.file <- system.file("extdata", "example.RData", package="cgNetwork")
load(example.file)
cgNetwork_list <- cgNetwork(countdata, mut_df, common_neighbor, "spearman", 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.