PFDataLoader: Build a 'PFData' Object

Description Usage Arguments Value Examples

View source: R/PFDataLoader.R

Description

Loads data from input file paths and constructs a PFNData class object comprised of a set of Locus class objects and associated data for analysis.

Usage

1
PFDataLoader(loci_data_path, cfn_data_path, bin = TRUE, n_bins = 128)

Arguments

loci_data_path

character path for target loci data. This is expected to be a tab-delimited file where the first column is a project metalabel, the second column is the column is a descriptor for the loci, and each subsequent column is a gene associated with the locus. Each row represents another locus to consider.

cfn_data_path

character path for the co-function network

bin

A boolean on whether to bin degrees in the co-function network

n_bins

Number of bins to separate degrees into (quantile based binning).

Value

A PFData object

Examples

1
2
3
4
5
6
## Not run: 
pf_data <- PFDataLoader(
"../app/preloaded_data/FA_loci.txt",
"../app/preloaded_data/Day3_STRING.txt")

## End(Not run)

princeew/PFFindR documentation built on Dec. 31, 2020, 2:06 a.m.