FamilyInfoPrep: Mapping Realtionship to unique nanoIDs

View source: R/mergesmap_SVMerge_SE.R

FamilyInfoPrepR Documentation

Mapping Realtionship to unique nanoIDs

Description

Mapping Realtionship to unique nanoIDs

Usage

FamilyInfoPrep(
  Samplecodes = "X:/Hayks_Materials/BNG/Projects/nanotatoR_sample_codes.csv",
  mergeKey = "X:/Hayks_Materials/BNG/Projects/MergeKey.csv",
  outMode = c("Text", "dataframe"),
  outpath = "X:/Hayks_Materials/BNG/Projects/VAP_DLE1_solo_SMAPs/Merged"
)

Arguments

Samplecodes

character. File containing relations and IDs associated to them.

mergeKey

character. File containing sample ID and relation.

outMode

character. The ouput mode. Choices, dataframe or Text.

outpath

character. Path where the dual labelled merged samples are kept. Is mandatory if outMode is Text.

Value

Text files containg merged smaps from different samples

Examples

FamilyInfoPrep(
Samplecodes = system.file("extdata", "nanotatoR_sample_codes.csv", package="nanotatoR"),
mergeKey = system.file("extdata", "nanotatoR_control_sample_codes.csv", package="nanotatoR"),
outMode = c("dataframe"))

VilainLab/Nanotator documentation built on Aug. 2, 2024, 8:45 p.m.