checkCisVariants: Remove phenotypes from SummarizedExperiments that do not have...

View source: R/SummarizedExperiment_helpers.R

checkCisVariantsR Documentation

Remove phenotypes from SummarizedExperiments that do not have cis genotypes

Description

Remove phenotypes from SummarizedExperiments that do not have cis genotypes

Usage

checkCisVariants(
  se,
  variant_information,
  cis_distance = 1e+06,
  min_cis_variant = 5
)

Arguments

se

SummarizedExperiment object

variant_information

Minimal number of variants in cis before the phenotype is removed.

Value

filtered SummarizedExperiment object where phenotypes with no cis variants are removed.


kauralasoo/eQTLUtils documentation built on March 12, 2023, 8:50 p.m.