Learn R Programming

karyotapR

karyotapR enables analysis of DNA copy number (aneuploidy) using data produced by the KaryoTap method. Users can easily parse, manipulate, and visualize datasets produced from the automated ‘Tapestri Pipeline’, with support for normalization, clustering, and copy number calling. Functions are also available to deconvolute multiplexed samples by genotype and parsing barcoded reads from exogenous lentiviral constructs.

KaryoTap combines custom genome-wide targeted DNA sequencing panels for the Mission Bio Tapestri system with a Gaussian mixture model framework for calling copy number.

References

Mays JC et al., 2023. KaryoTap Enables Aneuploidy Detection in Thousands of Single Human Cells. https://www.biorxiv.org/content/10.1101/2023.09.08.555746v1.

Installation

You can install the current stable version of karyotapR from CRAN with:

install.packages('karyotapR')

You can install the development version of karyotapR from GitHub with:

# install.packages("devtools")
devtools::install_github("joeymays/karyotapR")

Workflow

For details on the workflow, see the Getting Started guide, articles on this site, and the package reference/documentation.

Copy Link

Version

Install

install.packages('karyotapR')

Monthly Downloads

221

Version

1.0.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Joseph Mays

Last Published

November 1st, 2025

Functions in karyotapR (1.0.2)

corner

Print the top-left corner of a matrix
countBarcodedReads

Get read counts from barcoded reads
karyotapR-package

karyotapR: DNA Copy Number Analysis for Genome-Wide Tapestri Panels
newTapestriExperimentExample

Create Example TapestriExperiment
Custom Slot Getters and Setters

Getter and Setter functions for TapestriExperiment slots
plotCopyNumberGMM

Plot copy number GMM components
runClustering

Cluster 2D data
reducedDimPlot

Scatter plot for dimensional reduction results
getCytobands

Add chromosome cytobands and chromosome arms to TapestriExperiment
runUMAP

Cluster matrix data by UMAP
moveNonGenomeProbes

Move non-genome probes counts and metadata to altExp slots
runPCA

Cluster assay data by Principal Components Analysis
calcCopyNumber

Calculate relative copy number value for each cell-probe unit using reference sample
TapestriExperiment-class

TapestriExperiment Class Definition
calcGMMCopyNumber

Call copy number for each cell-chromosome using Gaussian mixture models
assayBoxPlot

Generate a box plot from assay data
calcSmoothCopyNumber

Smooth copy number values across chromosomes and chromosome arms
assayHeatmap

Generate heatmap of assay data
callSampleLables

Call sample labels based on feature counts
createTapestriExperiment

Create TapestriExperiment object from Tapestri Pipeline output
calcNormCounts

Normalize raw counts
PCAKneePlot

Plot of PCA proportion of variance explained
getChrOrder

Get chromosome order from a string of chromosome/contig names
getGMMBoundaries

Calculate decision boundaries between components of copy number GMMs
getTidyData

Get tidy-style data from TapestriExperiment objects