Skip to content

Commit fcd6912

Browse files
committed
documentation
1 parent 45d22d7 commit fcd6912

File tree

4 files changed

+56
-30
lines changed

4 files changed

+56
-30
lines changed

R/generate_graphs_from_quantdata.R

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' @param id_cols \strong{integer vector} \cr
66
#' The columns with ids, e.g. peptide sequences (everything except the peptide ratios)
77
#' @param fasta_edgelist \strong{data.frame} \cr
8-
#' An edgelist created from the corresponding FASTA file, eg. created with [generate_edgelist()].
8+
#' An edgelist created from the corresponding FASTA file, eg. created with [bppg::generate_edgelist()].
99
#' @param outpath \strong{character} \cr
1010
#' The output path for the results.
1111
#' @param seq_column \strong{character} \cr
@@ -91,21 +91,34 @@ generate_quant_graphs <- function(peptide_ratios,
9191

9292
#' Generate graphs from quantitative peptide-level data
9393
#'
94-
#' @param D data set with peptide sequence as first column and peptide intensities in subsequent columns
95-
#' (e.g. output from bppg::read_MQ_peptidetable)
96-
#' @param fasta fasta file used for identification of peptides in D
97-
#' @param outpath bla
98-
#' @param missed_cleavages bla
99-
#' @param min_aa bla
100-
#' @param max_aa bla
101-
#' @param ... currently not in use
102-
#' @param id_columns column numbers of D that contain ID information (the rest should contain only peptide intensities, properly normalized)
103-
#' @param seq_column column name of the peptide sequence
104-
#' @param collapse_protein_nodes if TRUE protein nodes will be collapsed
105-
#' @param collapse_peptide_nodes if TRUE, peptide nodes will be collapsed
106-
#' @param suffix suffix for output files
94+
#' @param D \strong{data.frame} \cr
95+
#' A data set with peptide sequence as first column
96+
#' and peptide intensities in subsequent columns
97+
#' ,e.g. created with [bppg::read_MQ_peptidetable()].
98+
#' @param fasta \strong{list of vector of characters} \cr
99+
#' A fasta file used for identification of peptides in D,
100+
#' already read into R by [seqinr::read.fasta()].
101+
#' @param outpath \strong{character} \cr
102+
#' The output path for the results.
103+
#' @param missed_cleavages \strong{integer} \cr
104+
#' The number of allowed missed cleavages in a peptide.
105+
#' @param min_aa \strong{integer} \cr
106+
#' The minimum number of amino acids in a peptide.
107+
#' @param max_aa \strong{integer} \cr
108+
#' The maximum number of amino acids in a peptide.
109+
#' @param id_columns \strong{integer vector} \cr
110+
#' The columns of D that contain ID information (the rest should contain only peptide intensities, properly normalized).
111+
#' @param seq_column \strong{character} \cr
112+
#' The column name of the column with the peptide sequences.
113+
#' @param collapse_protein_nodes \strong{logical} \cr
114+
#' If \code{TRUE}, the protein nodes will be collapsed.
115+
#' @param collapse_peptide_nodes \strong{logical} \cr
116+
#' If \code{TRUE}, the peptide nodes will be collapsed.
117+
#' @param suffix \strong{character} \cr
118+
#' The suffix for output files.
119+
#' @param ... currently not in use
107120
#'
108-
#' @return list of list of graphs
121+
#' @return A list of list of graphs
109122
#' @export
110123
#'
111124
#' @examples

R/helpers-Digest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Digest2 <- function (sequence, enzyme = "trypsin", missed = 0, warn = TRUE, remo
141141
#' In silico tryptic digestion of whole FASTA file.
142142
#'
143143
#' @param fasta \strong{list of vector of characters} \cr
144-
#' A fasta file, already read into R by seqinr::read.fasta().
144+
#' A fasta file, already read into R by [seqinr::read.fasta()].
145145
#' @param missed_cleavages \strong{integer} \cr
146146
#' The maximal number of missed cleavages.
147147
#' @param min_aa \strong{integer} \cr

man/digest_fasta.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/generate_graphs_from_quant_data.Rd

Lines changed: 26 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)