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

Description Usage Arguments Value Examples

View source: R/proteinpaint_utils.R

Description

Function to get samplegroup file that can be pass to Proteinpaint

Usage

1
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

1
2
3
4
5
samples <- sprintf('A%s', 1:7)
group <- 'B-ALL'
samplegroup <- get_pp_samplegroup(samples, group)
outfn <- tempfile()
samplegroup <- get_pp_samplegroup(samples, group, outfn)

JhuangLab/ngstk documentation built on May 28, 2019, 12:43 p.m.