create_PoN: Create Panel-of-Normal (PoN) object

View source: R/create_PoN.R

create_PoNR Documentation

Create Panel-of-Normal (PoN) object

Description

Create Panel-of-Normal (PoN) object

Usage

create_PoN(list_rdsfiles)

Arguments

list_rdsfiles

Character; a file contains paths to Profile.Rdata per line

Value

Null

Examples

healthy.1 <- system.file("extdata","ex.healthy1.rds",package = "cfdnakit")
healthy.2 <- system.file("extdata","ex.healthy2.rds",package = "cfdnakit")

path_to_PoN_txt <- paste0(system.file("extdata",package = "cfdnakit"),"/temp.reference_healthy.listfile")
fileConn<-file(path_to_PoN_txt)
writeLines(c(healthy.1,healthy.2), fileConn)
close(fileConn)


PoN.profiles <- create_PoN(path_to_PoN_txt)
file.remove(path_to_PoN_txt)

Pitithat-pu/cfdnakit documentation built on Oct. 2, 2024, 8:03 p.m.