Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download
Permalink

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:cb5d8fa45d2a0e806329103db0c15be203edd40d
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/QC_wrappers.r
\name{calculatePatchSeqQCMetrics2}
\alias{calculatePatchSeqQCMetrics2}
\title{Calculate PatchSeq QC Metrics}
\usage{
calculatePatchSeqQCMetrics2(pat_df, facs_df, markers)
}
\arguments{
\item{pat_df}{a matrix (rows=samples x columns=genes + meta-data) of gene expression
data and meta-data for patch-seq data (e.g., the data data set for QCing)}

\item{facs_df}{an equivalent matrix of reference data}

\item{markers}{a list of marker genes (calculated using defineClassMarkers)}
}
\value{
a table containing all of the qc metrics:
sample_id: name of the samples.
major_type: cell type identities (provided by Cadwell2016)
contam_type: cell type identities (normalized to cell type names in markers)
marker_sum: Summed expression of 'On' cell type marker genes (with cell type
  defined by contam_type)
marker_sum_norm: Normalized summed expression of 'on'-type marker genes,
  normalized to median expression of same cell type in dissociated-cell
  reference data
contam_sum: Contamination score, defined as the sum of normalized expression
  across all 'off' cell types defined in compare_cell_types_inh
quality_score: Quality score, defined as the Spearman correlation of marker
  expression between markers expressed in single cell with mean expression
  of markers in dissociated cell reference data
This function also outputs normalized expression of each 'off'-cell type
  (defined in compare_cell_types_inh) and we can use the function
  plotContamHeatmap to show these (each column is one single cell)
}
\description{
This function identifies is the same as calculatePatchSeqQCMetrics from
  patchSeqQC, except that it allows for any user-inputted comparison data set,
  and fixes some other errors.  Importantly, it outputs the same quality score,
  marker sum, and contamination score.
}

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API