ngstk (version 0.1.0)

get_pp_samplegroup: Function to get samplegroup file that can be pass to Proteinpaint

Description

Function to get samplegroup file that can be pass to Proteinpaint

Usage

get_pp_samplegroup(samples, group, outfn = NULL)

Arguments

samples

A vector indicating all samples

group

A vector indicating the group information

outfn

Default is NULL and not output the result to file

Value

A data frame

Examples

Run this code
# NOT RUN {
samples <- sprintf('A%s', 1:7)
group <- 'B-ALL'
samplegroup <- get_pp_samplegroup(samples, group)
outfn <- tempfile()
samplegroup <- get_pp_samplegroup(samples, group, outfn)
# }

Run the code above in your browser using DataCamp Workspace