Not able to run flashPCAR

62 views
Skip to first unread message

Palvi Malik

unread,
Nov 29, 2017, 3:05:06 PM11/29/17
to flashpca-users
Hello 
  I am new to R environment. I am trying to do PCA analysis using flashPCAR. I am currently using R version 3.4.1 (2017-06-30). Can you please explain the command: 

fn <- gsub("\\.bed", "",
   system.file("extdata", "data_chr1.bed", package="flashpcaR"))
fn
f <- flashpca(fn, ndim=10)
I have three plink files with bed, bim and fam extensions.

Thanks
Palvi Malik

Gad Abraham

unread,
Feb 20, 2018, 12:04:48 AM2/20/18
to flashpca-users

fn is the path to your plink data, e.g., if your plink files are data.bed, data.bim, data.fam, then fn should be "data".
Reply all
Reply to author
Forward
0 new messages