toFilter: Optional Filtering For Raw Data

View source: R/toFilter.R

toFilterR Documentation

Optional Filtering For Raw Data

Description

Filters only rows with specified values in columns Rank and Confidence Level , specified as cl

Usage

toFilter(.data, rank = 1, cl = c("Low", "Middle", "High"))

Arguments

.data

dataframe

rank

integer

cl

charater any combination of one or more of 'Low', 'Middle', or 'High'

Value

a dataframe

Examples

 
##Use example peptide data set, read in and clean data
inputFile <- system.file("extData", "data.txt", package = "ComPrAn")
peptides <- peptideImport(inputFile)
peptides <- cleanData(peptides, fCol = "Search ID")
##optional filtering based on rank and confidence level
peptides <- toFilter(peptides, rank = 1)

Scavetta/complexomics documentation built on Oct. 1, 2022, 2:15 a.m.