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

  • 5f8ee46
  • /
  • man
  • /
  • calculatedAnnotation.Rd
Raw File Download

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
content badge Iframe embedding
swh:1:cnt:e3c36b571a220a342c78133e267a1004d2d356f6
directory badge Iframe embedding
swh:1:dir:64f4b0617f5862bc449f5289009432aa1fe4c38b

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
calculatedAnnotation.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculatedAnnotation.R
\name{calculatedAnnotation}
\alias{calculatedAnnotation}
\title{Create calculated annotation}
\usage{
calculatedAnnotation(
  es,
  operation,
  rows = c(),
  columns = c(),
  isColumns = FALSE,
  name = NULL
)
}
\arguments{
\item{es}{ExpressionSet object.}

\item{operation}{Name of the operation to perform calculation}

\item{rows}{List of specified rows' indices (optional), indices start from 0}

\item{columns}{List of specified columns' indices (optional),
indices start from 0#'}

\item{isColumns}{Apply fn to columns}

\item{name}{Name of the new annotation}
}
\value{
Nothing. Annotated dataset will be assigned to es in environment
}
\description{
\code{calculatedAnnotation} adds a column calculated by operation
}

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— Content policy— Contact— JavaScript license information— Web API