Description Usage Arguments Details Value See Also
Subset data frame for specific SNPs only.
1 | subset_snp(df, snp.retain, col.snp = SNPs)
|
df |
Data frame containing SNPs. |
snp.retain |
Character vector. Vector specifying which SNPs to keep.
SNPs in |
col.snp |
Symbol. Column containing SNPs. |
Subset data frame for specific SNPs only.
Data frame containing only specified SNPs.
If no SNP in snp.retain
matches a SNP in col.snp
, subset_snp()
stops
with a warning saying "No SNP in 'snp.retain' matches a SNP in 'col.snp'.
Could not filter for SNP.".
extract_snp()
,
count_snp()
,
get_snp()
Other subset functions:
subset_df()
,
subset_mir_threshold()
,
subset_mir()
,
subset_research()
,
subset_review()
,
subset_year()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.