crossReferenceList: crossReferenceList

Description Usage Arguments Value Examples

View source: R/crossReferenceList.R

Description

Create a dataframe storing entries and corresponding cross reference. There might be more than one pdb names for one sequence, the package only pick the last one in given file.

Usage

1
crossReferenceList(crossReferenceFile, mySubjectClass)

Arguments

crossReferenceFile

The filepath of sequence database whose sequences have pdb in text.

mySubjectClass

A S4 class storing all information from the given sequence database in fasta.

Value

A dataframe with column "entry", "crossReference" which stores entry names and their corresponding PDB name

Examples

1
2
3
4
5
# Go to UniPort, download IPR005814 family entry database in text that is reviewed and has
# 3D structure (databaseExample.fasta, databaseExample.txt).

mySubject <- Biostrings::readAAStringSet("databaseExample.fasta")
crossReferenceList("databaseExample.txt", mySubject)

MichelleMengzhi/hmtp documentation built on Dec. 12, 2019, 12:54 a.m.