View source: R/loadOctadCounts.R
loadOctadCounts | R Documentation |
Create TPM or count expression matrix for the selected samples from OCTAD.
loadOctadCounts(sample_vector='',type='tpm',file='')
sample_vector |
vector of samples to be selected. Use |
type |
either |
file |
full path to |
exprData |
|
diffExp
.
#load data.frame with samples included in the OCTAD database phenoDF=get_ExperimentHub_data('EH7274') #load expression data for raw counts or tpm values. HCC_primary=subset(phenoDF,cancer=='liver hepatocellular carcinoma'& sample.type == 'primary') #select data #case_id=HCC_primary$sample.id #select cases #expression_tmp=loadOctadCounts(case_id,type='tpm', #file='octad.counts.and.tpm.h5') #expression_log2=loadOctadCounts(case_id,type='counts', #file='octad.counts.and.tpm.h5')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.