compareDsets: Column wise comparison of two datasets This function finds...

Description Usage Arguments Value Examples

View source: R/compareDsets.R

Description

Column wise comparison of two datasets This function finds how many samples are shared between two datasets. The datasets are in the form variables (probes) x samples. The number of variables (probes) in both datasets should be the same Let us assume we want to compare two normalized gene expression datasets from the same platform

Usage

1
compareDsets(d1, d2)

Arguments

d1

a numeric matrix of a dataset

d2

a numeric matrix of a dataset

Value

the number of equal samples

Examples

1
2
3
d1<-get(load(url("http://dataome.mensxmachina.org/data/Homo%20sapiens/GPL570/GSE86013.Rda")))
d2<-get(load(url("http://dataome.mensxmachina.org/data/Homo%20sapiens/GPL570/GSE86015.Rda")))
commons<-compareDsets(d1,d2)

mensxmachina/BioDataome documentation built on July 24, 2021, 1:05 p.m.