Skip to contents

Linx file parsing and manipulation.

Super class

nemo::Tool -> Linx

Methods

Inherited methods


Method new()

Create a new Linx object.

Usage

Linx$new(path = NULL, files_tbl = NULL)

Arguments

path

(character(1))
Output directory of tool. If files_tbl is supplied, this basically gets ignored.

files_tbl

(tibble(n))
Tibble of files from nemo::list_files_dir().


Method list_files()

List files in given linx directory. Overwrites parent class to handle germline LINX files.

Usage

Linx$list_files(type = "file")

Arguments

type

(character(1))
File type(s) to return (e.g. any, file, directory, symlink). See fs::dir_info.

Returns

A tibble of file paths.


Method parse_breakends()

Read breakend.tsv file.

Usage

Linx$parse_breakends(x)

Arguments

x

(character(1))
Path to file.


Method tidy_breakends()

Tidy breakend.tsv file.

Usage

Linx$tidy_breakends(x)

Arguments

x

(character(1))
Path to file.


Method parse_clusters()

Read clusters.tsv file.

Usage

Linx$parse_clusters(x)

Arguments

x

(character(1))
Path to file.


Method tidy_clusters()

Tidy clusters.tsv file.

Usage

Linx$tidy_clusters(x)

Arguments

x

(character(1))
Path to file.


Method parse_drivercatalog()

Read linx.driver.catalog.tsv file.

Usage

Linx$parse_drivercatalog(x)

Arguments

x

(character(1))
Path to file.


Method tidy_drivercatalog()

Tidy linx.driver.catalog.tsv file.

Usage

Linx$tidy_drivercatalog(x)

Arguments

x

(character(1))
Path to file.


Method parse_drivers()

Read linx.drivers.tsv file.

Usage

Linx$parse_drivers(x)

Arguments

x

(character(1))
Path to file.


Method tidy_drivers()

Tidy linx.drivers.tsv file.

Usage

Linx$tidy_drivers(x)

Arguments

x

(character(1))
Path to file.


Method parse_fusions()

Read linx.fusion.tsv file.

Usage

Linx$parse_fusions(x)

Arguments

x

(character(1))
Path to file.


Method tidy_fusions()

Tidy linx.fusion.tsv file.

Usage

Linx$tidy_fusions(x)

Arguments

x

(character(1))
Path to file.


Read links.tsv file.

Usage

Linx$parse_links(x)

Arguments

x

(character(1))
Path to file.


Tidy links.tsv file.

Usage

Linx$tidy_links(x)

Arguments

x

(character(1))
Path to file.


Method parse_neoepitope()

Read neoepitope.tsv file.

Usage

Linx$parse_neoepitope(x)

Arguments

x

(character(1))
Path to file.


Method tidy_neoepitope()

Tidy neoepitope.tsv file.

Usage

Linx$tidy_neoepitope(x)

Arguments

x

(character(1))
Path to file.


Method parse_svs()

Read svs.tsv file.

Usage

Linx$parse_svs(x)

Arguments

x

(character(1))
Path to file.


Method tidy_svs()

Tidy svs.tsv file.

Usage

Linx$tidy_svs(x)

Arguments

x

(character(1))
Path to file.


Method parse_viscn()

Read linx.vis_copy_number.tsv file.

Usage

Linx$parse_viscn(x)

Arguments

x

(character(1))
Path to file.


Method tidy_viscn()

Tidy linx.vis_copy_number.tsv file.

Usage

Linx$tidy_viscn(x)

Arguments

x

(character(1))
Path to file.


Method parse_visfusion()

Read linx.vis_fusion.tsv file.

Usage

Linx$parse_visfusion(x)

Arguments

x

(character(1))
Path to file.


Method tidy_visfusion()

Tidy linx.vis_fusion.tsv file.

Usage

Linx$tidy_visfusion(x)

Arguments

x

(character(1))
Path to file.


Method parse_visgeneexon()

Read linx.vis_gene_exon.tsv file.

Usage

Linx$parse_visgeneexon(x)

Arguments

x

(character(1))
Path to file.


Method tidy_visgeneexon()

Tidy linx.vis_gene_exon.tsv file.

Usage

Linx$tidy_visgeneexon(x)

Arguments

x

(character(1))
Path to file.


Method parse_visproteindomain()

Read linx.vis_protein_domain.tsv file.

Usage

Linx$parse_visproteindomain(x)

Arguments

x

(character(1))
Path to file.


Method tidy_visproteindomain()

Tidy linx.vis_protein_domain.tsv file.

Usage

Linx$tidy_visproteindomain(x)

Arguments

x

(character(1))
Path to file.


Method parse_vissegments()

Read linx.vis_segments.tsv file.

Usage

Linx$parse_vissegments(x)

Arguments

x

(character(1))
Path to file.


Method tidy_vissegments()

Tidy linx.vis_segments.tsv file.

Usage

Linx$tidy_vissegments(x)

Arguments

x

(character(1))
Path to file.


Method parse_vissvdata()

Read linx.vis_sv_data.tsv file.

Usage

Linx$parse_vissvdata(x)

Arguments

x

(character(1))
Path to file.


Method tidy_vissvdata()

Tidy linx.vis_sv_data.tsv file.

Usage

Linx$tidy_vissvdata(x)

Arguments

x

(character(1))
Path to file.


Method parse_version()

Read linx.version file.

Usage

Linx$parse_version(x)

Arguments

x

(character(1))
Path to file.


Method tidy_version()

Tidy linx.version file.

Usage

Linx$tidy_version(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Linx$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

cls <- Linx
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "linx_run1"
obj <- cls$new(indir)
obj$nemofy(odir = odir, format = "parquet", id = id)
#> NULL
(lf <- list.files(odir, pattern = "linx.*parquet", full.names = FALSE))
#> character(0)