mask_msd: Mask MSD, aka Training Dataset

Description Usage Arguments Examples

View source: R/mask_msd.R

Description

Mask MSD, aka Training Dataset

Usage

1
mask_msd(msd_filepath, psnuuids, output_folderpath = NULL)

Arguments

msd_filepath

full file path to the MSD (PSNUxIM) (.txt)

psnuuids

list of PSNU UIDs to select (n must equal 9)

output_folderpath

full folder folder path to where you want to save to (default = NULL, ie 'msd_filepath' folder)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 ## Not run: 
  #filepath for MSD (.txt)
    msd_filepath <- "~/ICPI/Data/MER_Structured_Dataset_PSNU_IM_FY17-18_20181115_v1_2.txt"
  #supply list of PSNU uids to use (must be 9)
    psnuuid_list <- c("QlWUt1rBsEo", "GfzVv4oeclF", "PNgOI7VPe98", "TWpkDEvK6si", "aqktQTp0wHa", 
                      "XFdvhW8Ga1S", "sVwvt4bYesp", "EJDcY4F1rsj", "nXEQ97b2YHJ")
  #generate training dataset
    mask_msd(msd_filepath, psnuuid_list) 
  #save to a training dataset to a different folder than the MSD folder
    mask_msd(msd_filepath, psnuuid_list, "~/Output") 
  
## End(Not run)

ICPI/TrainingDataset documentation built on March 21, 2020, 9:22 p.m.