R/SubDatabase.R

Defines functions SubDatabase

SubDatabase <- function(HbDatabase, Mshift= -29.97, error_Da_L=-0.06, error_Da_R=0.05){
  s1 <- Mshift + error_Da_L
  e1 <- Mshift + error_Da_R
  subHbBeta1 <- filter(HbDatabase, Delta.mass <=e1 & Delta.mass >= s1)
  return(subHbBeta1)
}
Linda24bc/VariantsIdentifier documentation built on Sept. 5, 2021, 2:16 p.m.