select_indices: Allows for selecting some peptide from input data

View source: R/select_indices.R

select_indicesR Documentation

Allows for selecting some peptide from input data

Description

Function allows for picking indices from the inputs based on: peptide start or end residue, length, state or timepoint. If parameters set to NA, condition is skipped.

Usage

select_indices(df, start = NA, end = NA, length = NA, times = NA, states = NA)

Arguments

df

input file (output of output_tc or output_tp)

start

provide number for the staring residue, default NA

end

provide number for the end residue, default NA

length

provide max length of the peptide

times

timepoints, only for the output_tp functions

states

states, only for the output_tc functions

Value

Row indices of the peptides that are fulfilling the conditions required.

Examples

file_nm<-system.file("extdata", "All_results_table.csv", package = "HDXBoxeR")
a<- output_tp(file_nm)
indb<-select_indices(a,length=12, start=100, end=200)
smaller_df<-a[indb,]

mkajano/HDXBoxeR documentation built on April 23, 2024, 12:28 a.m.