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

https://github.com/AllenInstitute/patchseqtools
15 July 2024, 17:33:05 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/Rpackage
    No releases to show
  • cbd7f65
  • /
  • man
  • /
  • calculatePatchSeqQCMetrics2.Rd
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

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
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:cb5d8fa45d2a0e806329103db0c15be203edd40d
origin badgedirectory badge Iframe embedding
swh:1:dir:8a55bc5c5dbf9e6993f9b48b231952397d1a5561
origin badgerevision badge
swh:1:rev:3c841b9fe8616cc0d88e4dc44b3048e8861c1687
origin badgesnapshot badge
swh:1:snp:32b7829ae356973db3a320b363569a8983e3616b
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
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 3c841b9fe8616cc0d88e4dc44b3048e8861c1687 authored by Jeremy Miller on 03 May 2024, 21:27:39 UTC
Update README.md with VISp viewer
Tip revision: 3c841b9
calculatePatchSeqQCMetrics2.Rd
% 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.
}

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

back to top