Node_df_FreqIn: Attributes size to Nodes depending on number of interaction

View source: R/dyNetwork.R

Node_df_FreqInR Documentation

Attributes size to Nodes depending on number of interaction

Description

Attributes size to Nodes depending on number of interaction

Usage

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

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)

kmezhoud/bioCancer documentation built on Feb. 17, 2024, 10:29 a.m.