Node_df_FreqIn: Attributes size to Nodes depending on number of interaction

Description Usage Arguments Value Examples

View source: R/dyNetwork.R

Description

Attributes size to Nodes depending on number of interaction

Usage

1
Node_df_FreqIn(genelist, freqIn)

Arguments

genelist

a vector of genes

freqIn

dataframe with Node interaction frequencies

Value

A data frame with nodes size attributes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Node_df_FreqIn
## Not run: 
r_data <- new.env()
r_data[["FreqIn"]] <- structure(list(Genes = c("ATM", "ATR", "BRCA1", "BRCA2", "CHEK1",
"CHEK2", "FANCF", "MDC1", "RAD51"), FreqSum = c(0.04, 0.05, 0.05,
 0.03, 0.05, 0.04, 0.03, 0.03, 0.02)), .Names = c("Genes", "FreqSum"),
 class = "data.frame", row.names = c(NA, -9L))
GeneList <- whichGeneList("DNA_damage_Response")
node_df <- Node_df_FreqIn(GeneList, r_data$FreqIn)

## End(Not run)

bioCancer documentation built on May 2, 2018, 4:38 a.m.