Description Usage Arguments Value Examples
View source: R/ms_subsetting.R
Function to parse data against a list to subset the data
1 2 3 4 5 6 7 8 |
data |
dataset to be subsetted |
hitidlist |
a list of hit UniprotID to parse against the dataset, which could be a vector of IDs or a txt file, see below |
isfile |
whether the provided hitidlist is in a txt file under column name "id", default set to TRUE |
pfdatabase |
whether the data is a malaria dataset, default set to FALSE |
allisoform |
whether to retrieve other isoforms of the same parental Uniprot ID, default set to TRUE |
revsel |
short for reverse selection, when set to TRUE, the output is the dataset after removing the targets, default set to FALSE |
a dataframe
1 2 3 4 5 | ## Not run:
IITDRdata_subset <- ms_subsetting(ITDRdata_f[[1]], hitidlist="hit_list.txt", isfile=TRUE)
ITDRdata_subset <- ms_subsetting(ITDRdata_f[[1]], hitidlist=c("P00000", "P12345-6"), isfile=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.