Nothing
#' Standard order of row names in a catalog
#'
#' This data is designed for those
#' who need to create their own catalogs from formats not
#' supported by this package. The rownames denote the mutation
#' types. For example, for SBS96 catalogs, the rowname
#' AGAT represents a mutation from AGA > ATA.
#'
#' @format A list of character vectors indicating the standard
#' orders of row names in catalogs.
#'
#' @inheritSection MutectVCFFilesToCatalogAndPlotToPdf ID classification
#'
#' @note In ID (small insertion and deletion) catalogs, deletion repeat sizes
#' range from 0 to 5+, but for plotting and end-user documentation deletion
#' repeat sizes range from 1 to 6+. In ID83 catalogs, deletion repeat sizes
#' range from 0 to 5.
#'
#' @name CatalogRowOrder
#'
#' @examples
#' catalog.row.order$SBS96
#' # "ACAA" "ACCA" "ACGA" "ACTA" "CCAA" "CCCA" "CCGA" "CCTA" ...
#' # There are altogether 96 row names to denote the mutation types
#' # in SBS96 catalog.
NULL
#' @rdname CatalogRowOrder
"catalog.row.order"
#' Transcript ranges data
#'
#' Transcript ranges and strand information for a particular reference genome.
#'
#' @details
#'
#' This information is needed to generate catalogs that
#' depend on transcriptional
#' strand information, for example catalogs of
#' class \code{SBS192Catalog}.
#'
#' \code{trans.ranges.GRCh37}: \strong{Human} GRCh37.
#'
#' \code{trans.ranges.GRCh38}: \strong{Human} GRCh38.
#'
#' \code{trans.ranges.GRCm38}: \strong{Mouse} GRCm38.
#'
#' For these two tables, only genes that are associated with a CCDS ID are kept for transcriptional
#' strand bias analysis.
#'
#' This information is needed for \code{\link{StrelkaSBSVCFFilesToCatalog}}, \cr
#' \code{\link{StrelkaSBSVCFFilesToCatalogAndPlotToPdf}},
#' \code{\link{MutectVCFFilesToCatalog}}, \cr
#' \code{\link{MutectVCFFilesToCatalogAndPlotToPdf}},
#' \code{\link{VCFsToSBSCatalogs}} and \code{\link{VCFsToDBSCatalogs}}.
#'
#' @format A \code{\link[data.table]{data.table}} which contains transcript
#' range and strand information for a particular reference genome.
#' \code{colname}s are \code{chrom}, \code{start}, \code{end}, \code{strand},
#' \code{Ensembl.gene.ID}, \code{gene.symbol}. It uses one-based coordinates.
#'
#' @source \url{ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_30/GRCh37_mapping/gencode.v30lift37.annotation.gff3.gz}
#'
#' @source \url{ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_30/gencode.v30.annotation.gff3.gz}
#'
#' @source \url{ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M21/gencode.vM21.annotation.gff3.gz}
#'
#' @name TranscriptRanges
#'
#' @examples
#' trans.ranges.GRCh37
#' # chrom start end strand Ensembl.gene.ID gene.symbol
#' # 1 65419 71585 + ENSG00000186092 OR4F5
#' # 1 367640 368634 + ENSG00000235249 OR4F29
#' # 1 621059 622053 - ENSG00000284662 OR4F16
#' # 1 859308 879961 + ENSG00000187634 SAMD11
#' # 1 879583 894689 - ENSG00000188976 NOC2L
#' # ... ... ... ... ... ...
NULL
#' @rdname TranscriptRanges
"trans.ranges.GRCh37"
#' @rdname TranscriptRanges
"trans.ranges.GRCh38"
#' @rdname TranscriptRanges
"trans.ranges.GRCm38"
#' K-mer abundances
#'
#' An R list with one element each for
#' \code{BSgenome.Hsapiens.1000genomes.hs37d5}, \cr
#' \code{BSgenome.Hsapiens.UCSC.hg38} and \code{BSgenome.Mmusculus.UCSC.mm10}.
#' Each element is in turn a sub-list keyed by
#' \code{exome}, \code{transcript},
#' and \code{genome}. Each element of the sub list
#' is keyed by the number of rows in the catalog class (as a string, e.g.
#' \code{"78"}, not \code{78}). The keys are:
#' 78 (\code{DBS78Catalog}), 96 (\code{SBS96Catalog}), 136 (\code{DBS136Catalog}),
#' 144 (\code{DBS144Catalog}), 192 (\code{SBS192Catalog}),
#' and 1536 (\code{SBS1536Catalog}). So, for example to get the exome
#' abundances for SBS96 catalogs for \code{BSgenome.Hsapiens.UCSC.hg38} exomes
#' one would reference \cr
#' \code{all.abundance[["BSgenome.Hsapiens.UCSC.hg38"]][["exome"]][["96"]]} \cr
#' or \code{all.abundance$BSgenome.Hsapiens.UCSC.hg38$exome$"96"}.
#' The value of the abundance is an integer vector with the K-mers
#' as names and each value being the count of that K-mer.
#'
#' @format See Description.
#'
#' @examples
#' all.abundance$BSgenome.Hsapiens.UCSC.hg38$transcript$`144`
#' # AA AC AG AT CA CC ...
#' # 90769160 57156295 85738416 87552737 83479655 63267896 ...
#' # There are 90769160 AAs on the sense strands of transcripts in
#' # this genome.
"all.abundance"
#' Example gene expression data from two cell lines
#'
#' This data is designed to be used as an example in function \cr
#' \code{\link{PlotTransBiasGeneExp}} and \code{\link{PlotTransBiasGeneExpToPdf}}.
#'
#' @format A \code{\link{data.table}} which contains the expression values of genes.
#'
#' @name GeneExpressionData
#'
#' @examples
#' gene.expression.data.HepG2
#' # Ensembl.gene.ID gene.symbol counts TPM
#' # ENSG00000000003 TSPAN6 6007 33.922648455
#' # ENSG00000000005 TNMD 0 0.000000000
#' # ENSG00000000419 DPM1 4441 61.669371091
#' # ENSG00000000457 SCYL3 1368 3.334619195
#' # ENSG00000000460 C1orf112 916 2.416263423
#' # ... ... ... ...
NULL
#' @rdname GeneExpressionData
"gene.expression.data.HepG2"
#' @rdname GeneExpressionData
"gene.expression.data.MCF10A"
# Quiets concerns of R CMD check about no visible binding for global variable
if(getRversion() >= "2.15.1") {
utils::globalVariables(c("all.abundance", "binomial", "trans.ranges.GRCh38",
"BSgenome.Mmusculus.UCSC.mm10", "trans.ranges.GRCm38",
"POS2", "POS", "trans.strand", "trans.gene.symbol",
"bothstrand", "strand", ".", "CHROM", "Exp_Level",
"ALT", "count", "rn", "occurrences", "type", "strand",
"bothstrand", "chrom", "exome.start", "exome.end",
"count", "REF", "seq.21bases", "N", "pyr.mut", "nrn",
"mutation", "LOW", "ID", "REF.x", "REF.y", "ALT.x",
"ALT.y", "ref2alt", "minus1bs", "minus2bs", "plus1bs",
"plus2bs", "POS.plus.one", "HIGH", "POS.y", "VAF.x",
"VAF.y", "delete.flag", "trans.ranges.GRCh37", "cols",
"Ensembl.gene.ID", "readthrough", "exp.value",
"trans.end.pos", "trans.start.pos", "read.depth", "VAF",
"read.depth.x", "read.depth.y","exp.level", "FILTER",
"trans.Ensembl.gene.ID", "..col.names.order", "remark.for.DBS",
"..column.to.use"))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.