mapMutationTypeToMutationClass: Map from mutation type (aka, variant classification) to...

View source: R/mapMutationTypeToMutationClass.R

mapMutationTypeToMutationClassR Documentation

Map from mutation type (aka, variant classification) to mutation class

Description

Map from mutation type (aka, variant classification) to mutation class. Default mappings are as follows,

  • Missense

  • Inframe

    • In_Frame_Del — a deletion that keeps the sequence in frame

    • In_Frame_Ins — an insertion that keeps the sequence in frame

    • Silent — variant is in coding region of the chosen transcript, but protein structure is identical (i.e., a synonymous mutation)

    • Targeted_Region — targeted region

  • Truncating

  • Other

    • 5'UTR — a variant that is on the 5'UTR for the chosen transcript.

    • 3'UTR — a variant that is on the 3'UTR for the chosen transcript.

    • 5'Flank — a variant that is upstream of the chosen transcript (generally within 3kb).

    • 3'Flank — a variant that is downstream of the chosen transcript (generally within 3kb).

    • Fusion — a gene fusion.

    • IGR — an intergenic region. Does not overlap any transcript.

    • Intron — a variant that lies between exons within the bounds of the chosen transcript.

    • Translation_Start_Site — a variant that is in translation start site.

    • De_novo_Start_InFrame — a novel start codon that is created by the given variant using the chosen transcript. However, it is in frame relative to the coded protein.

    • De_novo_Start_OutOfFrame — a novel start codon that is created by the given variant using the chosen transcript. However, it is out of frame relative to the coded protein.

    • Start_Codon_SNP — a point mutation that overlaps the start codon.

    • Start_Codon_Ins — an insertion that overlaps the start codon.

    • Start_Codon_Del — a deletion that overlaps the start codon.

    • RNA — a variant that lies on one of the RNA transcripts.

    • lincRNA — a variant that lies on one of the lincRNAs.

    • Unknown — Unknown

Usage

mapMutationTypeToMutationClass(
  mutation.type.vec,
  mutation.type.to.class.df = NA
)

Arguments

mutation.type.vec

a vector of mutation type information

mutation.type.to.class.df

A mapping table from mutation type (header Mutation_Type) to mutation class (header Mutation_Class). Default NA, which indicates to use default mappings.

Value

a vector of mapped mutation class information


g3viz documentation built on Sept. 11, 2024, 9:25 p.m.