simplifySampleNames {biscuiteer} | R Documentation

## Simplify bsseq sample names

### Description

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

### Usage

    simplifySampleNames(x)

### Arguments

`x` | A SummarizedExperiment-derived object, or a character vector

### Value

The input object, but with simplified sample names

### Examples

      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)

[Package biscuiteer version 1.0.0 Index]