select_indices {HDXBoxeR} | R 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,]
[Package HDXBoxeR version 0.0.1 Index]