subset_marker_data: Subset Summary By Input

Description Usage Arguments Examples

View source: R/SNP_stats.R

Description

Updates input summary based on user-input string "add" or "remove" and vector containing markers. Best paired with functions which update dependents of the input summary. Requires another function to update the .dat data frame by input summary.

Usage

1
subset_marker_data(summary, map, add_remove, markers)

Arguments

summary

SNP or marker summary as data frame

map

Marker map as data frame

add_remove

String, "add" or "remove"

markers

Vector of marker IDs to add or remove to input summary, Markers must be present in map set

Examples

1

mei-sean-chen/Q-rator documentation built on Dec. 21, 2021, 4:55 p.m.