nbReadNetwork: Build a data frame from a network description file for later...

View source: R/netblockr.R

nbReadNetworkR Documentation

Build a data frame from a network description file for later loading with nbLoadNetwork() Used when multiple network description files need to be combined Note that there is currently no check for duplicate NetBlocks, that can be done externally

Description

#' @param file Path to the input file

Usage

nbReadNetwork(file, skip_lines = 0, quiet = FALSE)

Arguments

skip_lines

Optional number of lines to skip, use if there is an uncommented header

Value

A data frame appropriate for nbLoadNetwork() The input can contain empty rows. A '#' in the NetBlock field will cause that row to be ignored.


meekj/netblockr documentation built on Sept. 9, 2023, 9:37 p.m.