simplifySampleNames: Simplify bsseq sample names

Description Usage Arguments Value Examples

View source: R/simplifySampleNames.R

Description

Tries using the longest common subsequence to figure out what can be dropped. Usually used for VCF columns.

Usage

1

Arguments

x

A SummarizedExperiment-derived object, or a character vector

Value

The input object, but with simplified sample names

Examples

1
2
3
4
5
6
7
8
  orig_bed <- system.file("extdata", "MCF7_Cunha_chr11p15.bed.gz",
                          package="biscuiteer")
  orig_vcf <- system.file("extdata", "MCF7_Cunha_header_only.vcf.gz",
                          package="biscuiteer")
  bisc <- readBiscuit(BEDfile = orig_bed, VCFfile = orig_vcf,
                      merged = FALSE)

  bisc <- simplifySampleNames(bisc)

biscuiteer documentation built on Nov. 8, 2020, 8:28 p.m.