filter_exons: Filter Exons with Zero Variance

Description Usage Arguments Examples

Description

Removes exons without evidence of alternative splicing

Usage

1
filter_exons(data, sp, indivs, stringent = FALSE)

Arguments

data

The PSI file to be filtered sp The total number of columns containing exon names indivs A numerical vector containing the number of individuals for each tissue, in order from left to right stringent Applies a stronger filter to return exons w/ at least 2 individuals per tissue/species (Required for EVE model). Defaults to FALSE.

Examples

1
2
3
4
filter_exons(data = PSI_brain, sp = 3, indivs = c(6,6,3), stringent = TRUE) -> PSI_brain

# don't forget to subset the complementary varPSI file to match
varPSI_brain = varPSI_brain[varPSI_brain$V1 %in% PSI_brain$V1, ]

JMoon1/v2e documentation built on May 10, 2019, 12:51 p.m.