geneAnnotation: Annotation of genes affected by structural variations

Description Usage Arguments Details Value Author(s) Examples

View source: R/geneAnnotation.R

Description

Report the details of genes affected by structural variations.

Usage

1
    geneAnnotation(structuralVariation,genomeAnnotation)

Arguments

structuralVariation

A data frame of structural variations.

genomeAnnotation

A genomic ranges of the genome annotation.

Details

A structural variation (deletion, duplication, inversion et al.) could affect the structure of a specific gene, including deletion of introns/exons, deletion of whole gene, et al.. And a specific gene might be affected by multiple SVs. This function gives the detailed effects caused by structural variations to genes and its elements from the point of genes.

The parameter "structuralVariation" should be a data frame with three columns:

Value

A data frame with the following columns:

locus

the gene affected by structural variations.

exon

the effect of structural variations to exons of a specific gene.

intron

the effect of structural variations to introns of a specific gene.

cds

the effect of structural variations to cdss of a specific gene.

utr

the effect of structural variations to utrs of a specific gene.

Author(s)

Wen Yao

Examples

1
2
3
4
5
6
7
8
9
    breakdancer <- readBreakDancer(system.file("extdata/ZS97.breakdancer.sv",
                                   package="intansv"))
    str(breakdancer)

    load(system.file("extdata/genome.anno.RData",package="intansv"))
    str(msu_gff_v7)
    gene.breakdancer.anno <- llply(breakdancer,geneAnnotation,
                                   genomeAnnotation=msu_gff_v7)
    str(gene.breakdancer.anno)

intansv documentation built on May 31, 2017, 10:53 a.m.