simplifySampleNames: Simplify bsseq sample names

View source: R/simplifySampleNames.R

simplifySampleNamesR 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)


trichelab/biscuitEater documentation built on March 2, 2024, 6:57 p.m.